linux_dsm_epyc7002/drivers/gpu/drm/amd
Joseph Gravenor 8d8c82b699 drm/amd/display: add worst case dcc meta pitch to fake plane
[why]
When we have single channel memory, we can not light up 2 4k displays
with a 1080p edp, because we don't have enough bw by a small margin.
this small margin comes from dcc meta being too large. We however don't
have this dcc meta when we create fake planes so, before the flip we
will not filter out the mode for 2 4k displays with a 1080p edp

[how]
Change get_default_swizzle_mode to something more general so we don't
end up with a separate function for every missing field in the fake
plane. Add a reasonable dcc meta to the fake plane when it is filled in,
so we filter out modes that don't have enough bandwidth. To do this, we
take the screen width and align it to 1024(8k 60)

Signed-off-by: Joseph Gravenor <joseph.gravenor@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-03-05 00:29:13 -05:00
..
acp drm/amdgpu: fix license on Kconfig and Makefiles 2019-12-11 15:22:08 -05:00
amdgpu drm/amdgpu: Rearm IRQ in Navi10 SR-IOV if IRQ lost 2020-03-05 00:28:34 -05:00
amdkfd drm/amdkfd: fix indentation issue 2020-03-05 00:26:45 -05:00
display drm/amd/display: add worst case dcc meta pitch to fake plane 2020-03-05 00:29:13 -05:00
include drm/amdkfd: Make get_tile_config() generic 2020-02-28 16:59:20 -05:00
powerplay drm/amdgpu: Add debugfs interface to set arbitrary sclk for navi14 (v2) 2020-03-05 00:27:50 -05:00