Skip to content
Snippets Groups Projects
Commit e204aab7 authored by Aliaksei Urbanski's avatar Aliaksei Urbanski Committed by Alex Deucher
Browse files

drm/amd/display: fix missing .is_two_pixels_per_container


Starting from 6.11, AMDGPU driver, while being loaded with amdgpu.dc=1,
due to lack of .is_two_pixels_per_container function in dce60_tg_funcs,
causes a NULL pointer dereference on PCs with old GPUs, such as R9 280X.

So this fix adds missing .is_two_pixels_per_container to dce60_tg_funcs.

Reported-by: default avatarRosen Penev <rosenp@gmail.com>
Closes: drm/amd#3942


Fixes: e6a901a0 ("drm/amd/display: use even ODM slice width for two pixels per container")
Signed-off-by: default avatarAliaksei Urbanski <aliaksei.urbanski@gmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
(cherry picked from commit bd4b125e)
Cc: stable@vger.kernel.org
parent df1e82e7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment