diff options
author | Jani Nikula <jani.nikula@intel.com> | 2023-12-12 14:53:09 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-12-13 22:08:01 +0100 |
commit | d9501844d53897ca7ac04697b8504940c6dfdbb3 (patch) | |
tree | 2e44c4ee12ce555f831200a64c50cf0d5de6cfa9 /drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | |
parent | drm/amd/display: add CRTC gamma TF support (diff) | |
download | linux-d9501844d53897ca7ac04697b8504940c6dfdbb3.tar.xz linux-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.c | 1 |
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> |