Commit 5a9a65bf authored by Hamza Mahfooz's avatar Hamza Mahfooz Committed by Jialin Zhang
Browse files

drm/amdgpu: use dirty framebuffer helper

stable inclusion
from stable-v5.10.146
commit 867b2b2b6802fb3995a0065fc39e0e7e20d8004d
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I6D0VX

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=867b2b2b6802fb3995a0065fc39e0e7e20d8004d



--------------------------------

[ Upstream commit 66f99628 ]

Currently, we aren't handling DRM_IOCTL_MODE_DIRTYFB. So, use
drm_atomic_helper_dirtyfb() as the dirty callback in the amdgpu_fb_funcs
struct.

Signed-off-by: default avatarHamza Mahfooz <hamza.mahfooz@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
Reviewed-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 590bcad5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment