diff options
author | Aliaksei Urbanski <aliaksei.urbanski@gmail.com> | 2025-03-06 13:36:03 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-03-10 21:08:15 +0300 |
commit | e204aab79e01bc8ff750645666993ed8b719de57 (patch) | |
tree | dddb766d5cd64653eab988d59b8e6eb6f860e932 /tools/perf/scripts/python/gecko.py | |
parent | df1e82e7acd3c50b65ca0e2e09089b78382d14ab (diff) | |
download | linux-e204aab79e01bc8ff750645666993ed8b719de57.tar.xz |
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: Rosen Penev <rosenp@gmail.com>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3942
Fixes: e6a901a00822 ("drm/amd/display: use even ODM slice width for two pixels per container")
Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit bd4b125eb949785c6f8a53b0494e32795421209d)
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions