mirror_ubuntu-kernels/drivers/gpu/drm/amd/display
Joaquín Ignacio Aramendía 809734c110 drm/amd/display: Revert logic for plane modifiers
This file was split in commit 5d945cbcd4
("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>
2022-10-24 14:46:29 -04:00
..
amdgpu_dm drm/amd/display: Revert logic for plane modifiers 2022-10-24 14:46:29 -04:00
dc drm/amd/display: Don't return false if no stream 2022-10-24 14:44:03 -04:00
dmub drm/amd/display: Use set_vtotal_min_max to configure OTG VTOTAL 2022-10-10 17:32:55 -04:00
include drm/amd/display: Refactor LTTPR mode selection 2022-09-29 09:41:46 -04:00
modules drm/amd/display: fix transfer function passed to build_coefficients() 2022-10-11 11:33:31 -04:00
Kconfig drm/amdgpu/display: remove unneeded "default n" options 2022-09-13 14:32:58 -04:00
Makefile
TODO