diff options
| author | Jani Nikula <jani.nikula@intel.com> | 2025-02-24 19:00:48 +0300 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2025-03-03 14:44:42 +0300 |
| commit | 7c04b6c7e9c5b1d8121b4fe88bc47daed2ff8665 (patch) | |
| tree | 60bd571a7deadbd8fb0ed4c7bcfb43fe9f0b8508 /drivers/gpu/drm/i915/display/intel_dp_test.c | |
| parent | fe7fad476ec8153a8b8767a08114e3e4a58a837e (diff) | |
| download | linux-7c04b6c7e9c5b1d8121b4fe88bc47daed2ff8665.tar.xz | |
drm/i915: relocate intel_plane_ggtt_offset() to intel_atomic_plane.c
With the primary goal of removing #include "i915_vma.h" from
intel_display_types.h, move intel_plane_ggtt_offset() to a proper
function in intel_atomic_plane.c. This reveals tons of implicit
dependencies all over the place that we pulled in via i915_vma.h. Fix
the fallout.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/70ac6d19518f355abf37ac8c4b0f1d18878be28c.1740412806.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_test.c')
| -rw-r--r-- | drivers/gpu/drm/i915/display/intel_dp_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp_test.c b/drivers/gpu/drm/i915/display/intel_dp_test.c index 614b90d6938f..bd61f3c3ec91 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_test.c +++ b/drivers/gpu/drm/i915/display/intel_dp_test.c @@ -6,6 +6,8 @@ #include <drm/display/drm_dp.h> #include <drm/display/drm_dp_helper.h> #include <drm/drm_edid.h> +#include <drm/drm_file.h> +#include <drm/drm_print.h> #include <drm/drm_probe_helper.h> #include "i915_reg.h" |
