aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2023-12-12 13:53:09 +0000
committerAlex Deucher <[email protected]>2023-12-13 21:08:01 +0000
commitd9501844d53897ca7ac04697b8504940c6dfdbb3 (patch)
tree2e44c4ee12ce555f831200a64c50cf0d5de6cfa9 /drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
parentdrm/amd/display: add CRTC gamma TF support (diff)
downloadkernel-d9501844d53897ca7ac04697b8504940c6dfdbb3.tar.gz
kernel-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 <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/dce_v11_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/dce_v11_0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
index 7af277f61cca..f22ec27365bd 100644
--- a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
@@ -21,6 +21,7 @@
*
*/
+#include <drm/drm_edid.h>
#include <drm/drm_fourcc.h>
#include <drm/drm_modeset_helper.h>
#include <drm/drm_modeset_helper_vtables.h>