From 97c33be6321199fd805e3b24137632521a449ff7 Mon Sep 17 00:00:00 2001 From: ferreo Date: Sat, 9 Nov 2024 14:55:37 +0100 Subject: [PATCH] Add patches/0003-amddrm2.patch --- patches/0003-amddrm2.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 patches/0003-amddrm2.patch diff --git a/patches/0003-amddrm2.patch b/patches/0003-amddrm2.patch new file mode 100644 index 0000000..095a6f6 --- /dev/null +++ b/patches/0003-amddrm2.patch @@ -0,0 +1,22 @@ +Signed-off-by: André Almeida +--- + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c +index 495e3cd70426..4c6aed5ca777 100644 +--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c ++++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c +@@ -1266,8 +1266,7 @@ static int amdgpu_dm_plane_atomic_async_check(struct drm_plane *plane, + struct drm_plane_state *new_plane_state; + struct dm_crtc_state *dm_new_crtc_state; + +- /* Only support async updates on cursor planes. */ +- if (plane->type != DRM_PLANE_TYPE_CURSOR) ++ if (plane->type != DRM_PLANE_TYPE_CURSOR && plane->type != DRM_PLANE_TYPE_OVERLAY) + return -EINVAL; + + new_plane_state = drm_atomic_get_new_plane_state(state, plane); + +-- +2.46.0 \ No newline at end of file