]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/amd/display: Update swizzle mode enums
authorAlvin Lee <Alvin.Lee2@amd.com>
Fri, 30 Jul 2021 20:55:06 +0000 (16:55 -0400)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 7 Dec 2021 06:34:22 +0000 (07:34 +0100)
commit0c545dc43b8baadbfc4c7dd70b5cad06ae317e11
treeaf428de31b606a5b83709230a88c55d5f90efa31
parent13da5ff4033708d6b20f78211eb723350976eee3
drm/amd/display: Update swizzle mode enums

BugLink: https://bugs.launchpad.net/bugs/1952579
commit 58065a1e524de30df9a2d8214661d5d7eed0a2d9 upstream.

[Why]
Swizzle mode enum for DC_SW_VAR_R_X was existing,
but not mapped correctly.

[How]
Update mapping and conversion for DC_SW_VAR_R_X.

Reviewed-by: XiangBing Foo <XiangBing.Foo@amd.com>
Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Cc: stable@vger.kernel.org
Tested-by: Daniel Wheeler <Daniel.Wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
drivers/gpu/drm/amd/display/dc/dml/display_mode_enums.h