summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2023-12-12 15:53:09 +0200
committerAlex Deucher <alexander.deucher@amd.com>2023-12-13 16:08:01 -0500
commitd9501844d53897ca7ac04697b8504940c6dfdbb3 (patch)
tree2e44c4ee12ce555f831200a64c50cf0d5de6cfa9 /drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
parent6bd20f0f165f444c1d8184ebd238dd92966c9dca (diff)
downloadlinux-stable-d9501844d53897ca7ac04697b8504940c6dfdbb3.tar.gz
linux-stable-d9501844d53897ca7ac04697b8504940c6dfdbb3.tar.bz2
linux-stable-d9501844d53897ca7ac04697b8504940c6dfdbb3.zip
drm/amd: include drm/drm_edid.h only where needed
Including drm_edid.h from amdgpu_mode.h causes the rebuild of literally hundreds of files when drm_edid.h is modified, while there are only a handful of files that actually need to include drm_edid.h. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/dce_v6_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/dce_v6_0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
index 143efc37a17f..4dbe9b3259b5 100644
--- a/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
@@ -23,6 +23,7 @@
#include <linux/pci.h>
+#include <drm/drm_edid.h>
#include <drm/drm_fourcc.h>
#include <drm/drm_modeset_helper.h>
#include <drm/drm_modeset_helper_vtables.h>