1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/inc
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
..
hw drm/amd/display: only include FEC overhead if both asic and display support FEC 2020-03-05 00:29:05 -05:00
bw_fixed.h drm/amd/display: explicit uint64_t casting 2018-11-05 14:20:50 -05:00
clock_source.h drm/amd/display: Keep clocks high before seamless boot done 2019-03-19 15:04:03 -05:00
compressor.h drm/amd/display: fbc state could not reach while enable fbc 2018-11-30 12:02:35 -05:00
core_status.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
core_types.h drm/amd/display: add worst case dcc meta pitch to fake plane 2020-03-05 00:29:13 -05:00
custom_float.h drm/amd/display: Enable regamma 25 segments and use double buffer. 2017-09-26 17:14:18 -04:00
dc_link_ddc.h drm/amd/display: use previous aux timeout val if no repeater. 2019-11-13 15:29:43 -05:00
dc_link_dp.h drm/amd/display: linux enable oled panel support dc part 2020-02-06 15:04:38 -05:00
dce_calcs.h drm/amdgpu/display: remove VEGAM config option 2018-05-18 16:08:18 -05:00
dcn_calc_math.h drm/amd/display: fixup DML dependencies 2020-01-16 14:16:48 -05:00
dcn_calcs.h drm/amd/display: make clk mgr soc specific 2019-05-31 10:39:29 -05:00
hw_sequencer.h drm/amd/display: Added locking for atomic update stream and update planes 2020-02-06 15:04:37 -05:00
hw_sequencer_private.h drm/amd/display: Temporarily disable stutter on MPO transition 2020-02-25 11:09:53 -05:00
link_hwss.h drm/amd/display: implement lttpr logic 2019-11-13 15:29:43 -05:00
reg_helper.h drm/amd/display: Indirect reg read macro with shift and mask 2020-01-16 14:13:53 -05:00
resource.h drm/amdgpu/display move get_num_odm_splits() into dc_resource.c 2020-02-12 16:04:39 -05:00
vm_helper.h drm/amd/display: move vmid determination logic to a module 2019-06-22 09:34:14 -05:00