]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Change null plane state swizzle mode to 4kb_s
authorGeorge Shen <george.shen@amd.com>
Fri, 17 Jul 2020 17:19:27 +0000 (13:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Aug 2020 20:49:29 +0000 (16:49 -0400)
commit5f7e77085a302a662e4e55f416b7aa3a6aef9296
treee356047bce394bf9913eed2109567c457925ebe4
parentc3fceeff7db4bbb3394d22aaabfc28ec7a6a7be8
drm/amd/display: Change null plane state swizzle mode to 4kb_s

[Why]
During SetPathMode and UpdatePlanes, the plane state can be null. We default
to linear swizzle mode when plane state is null. This resulted in bandwidth
validation failing when trying to set 8K60 mode (which previously passed validation
during rebuild timing list).

[How]
Change the default swizzle mode from linear to 4kb_s and update pitch accordingly.

Signed-off-by: George Shen <george.shen@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c