diff options
author | Joaquín Ignacio Aramendía <samsagax@gmail.com> | 2022-10-24 08:33:59 -0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-10-24 14:38:47 -0400 |
commit | 93e28cf81406519622383ae51d6fd183b744ac46 (patch) | |
tree | 354c4ad795c3463aa13bbdf677f3e75251a97f2e /drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h | |
parent | 31bc2485e88537009fad9246bf48319fc9172230 (diff) |
drm/amd/display: Revert logic for plane modifiers
This file was split in commit 5d945cbcd4b16a29d6470a80dfb19738f9a4319f
("drm/amd/display: Create a file dedicated to planes") and the logic in
dm_plane_format_mod_supported() function got changed by a switch logic.
That change broke drm_plane modifiers setting on series 5000 APUs
(tested on OXP mini AMD 5800U and HP Dev One 5850U PRO)
leading to Gamescope not working as reported on GitHub[1]
To reproduce the issue, enter a TTY and run:
$ gamescope -- vkcube
With said commit applied it will abort. This one restores the old logic,
fixing the issue that affects Gamescope.
[1](https://github.com/Plagman/gamescope/issues/624)
Cc: <stable@vger.kernel.org> # 6.0.x
Signed-off-by: Joaquín Ignacio Aramendía <samsagax@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h')
0 files changed, 0 insertions, 0 deletions