summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/evergreen.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2023-12-12 16:53:38 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-12-13 23:28:31 +0300
commite747235ef3c253298157b6cd634b9b2695f33d20 (patch)
tree0aa6e643fb8ab89b84356ffe0e8b196c0fb130d8 /drivers/gpu/drm/radeon/evergreen.c
parent91963397c49aa2907aeafa52d929555dcbc9cd07 (diff)
downloadlinux-e747235ef3c253298157b6cd634b9b2695f33d20.tar.xz
drm/radeon: include drm/drm_edid.h only where needed
Including drm_edid.h from radeon_mode.h causes the rebuild of more than a hundred 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/radeon/evergreen.c')
-rw-r--r--drivers/gpu/drm/radeon/evergreen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c
index f0ae087be914..a424b86008b8 100644
--- a/drivers/gpu/drm/radeon/evergreen.c
+++ b/drivers/gpu/drm/radeon/evergreen.c
@@ -26,6 +26,7 @@
#include <linux/pci.h>
#include <linux/slab.h>
+#include <drm/drm_edid.h>
#include <drm/drm_vblank.h>
#include <drm/radeon_drm.h>
#include <drm/drm_fourcc.h>