diff options
Diffstat (limited to 'SOURCES/0001-amd-hdr.patch')
-rw-r--r-- | SOURCES/0001-amd-hdr.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/SOURCES/0001-amd-hdr.patch b/SOURCES/0001-amd-hdr.patch index 14ab067..6c0deff 100644 --- a/SOURCES/0001-amd-hdr.patch +++ b/SOURCES/0001-amd-hdr.patch @@ -2120,33 +2120,3 @@ index ea1b639bc..cea5653e4 100644 -- 2.43.0 -From b693994eaf80dbea585322b8f2d34c7a1801268e Mon Sep 17 00:00:00 2001 -From: Joshua Ashton <joshua@froggi.es> -Date: Thu, 14 Dec 2023 22:39:09 +0000 -Subject: [PATCH] drm/amd/display: Don't create color properties on asics < - SIENNA_CICHLID - -Most of these features are not supported on older ASICs. - -Signed-off-by: Joshua Ashton <joshua@froggi.es> ---- - drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c -index 86a2d449cf07..99bdf9758323 100644 ---- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c -+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c -@@ -104,6 +104,9 @@ amdgpu_dm_create_color_properties(struct amdgpu_device *adev) - { - struct drm_property *prop; - -+ if (adev->asic_type < CHIP_SIENNA_CICHLID) -+ return 0; -+ - prop = drm_property_create(adev_to_drm(adev), - DRM_MODE_PROP_BLOB, - "VALVE1_PLANE_DEGAMMA_LUT", 0); --- -2.43.0 - |