]> git.hungrycats.org Git - linux/commit
drm/amdgpu: make damage clips support configurable
authorHamza Mahfooz <hamza.mahfooz@amd.com>
Thu, 8 Feb 2024 21:23:29 +0000 (16:23 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2024 13:11:53 +0000 (15:11 +0200)
commit27a596fc81ca6d92c93848e90717c00b929d27e5
treea3b03b14a41376078140a93bebb39ac241085dc2
parent554e3c1ecd434c4044a34e38a7e9a2a0e9c0b115
drm/amdgpu: make damage clips support configurable

[ Upstream commit fc184dbe9fd99ad2dfb197b6fe18768bae1774b1 ]

We have observed that there are quite a number of PSR-SU panels on the
market that are unable to keep up with what user space throws at them,
resulting in hangs and random black screens. So, make damage clips
support configurable and disable it by default for PSR-SU displays.

Cc: stable@vger.kernel.org
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c