linux/drivers/gpu/drm/amd/display/dc
Josip Pavic a0275dfc82 drm/amd/display: fix dcc swath size calculations on dcn1
[Why]
Swath sizes are being calculated incorrectly. The horizontal swath size
should be the product of block height, viewport width, and bytes per
element, but the calculation uses viewport height instead of width. The
vertical swath size is similarly incorrectly calculated. The effect of
this is that we report the wrong DCC caps.

[How]
Use viewport width in the horizontal swath size calculation and viewport
height in the vertical swath size calculation.

Signed-off-by: Josip Pavic <Josip.Pavic@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-03-05 09:42:08 -05:00
..
basics
bios drm/amd/display: Don't map ATOM_ENABLE to ATOM_INIT 2020-02-11 15:38:27 -05:00
calcs drm/amdgpu/display: handle multiple numbers of fclks in dcn_calcs.c (v2) 2020-02-04 10:37:52 -05:00
clk_mgr drm/amd/display: DCN2.x Do not program DPPCLK if same value 2020-02-11 15:39:45 -05:00
core drm/amd/display: fix for-loop with incorrectly sized loop counter (v2) 2020-01-27 16:46:45 -05:00
dce drm/amd/display: Check engine is not NULL before acquiring 2020-02-11 15:07:03 -05:00
dce80
dce100
dce110 drm/amd/display: make PSR static screen entry within 30 ms 2020-01-16 14:16:08 -05:00
dce112
dce120 drm/amd/display: make PSR static screen entry within 30 ms 2020-01-16 14:16:08 -05:00
dcn10 drm/amd/display: fix dcc swath size calculations on dcn1 2020-03-05 09:42:08 -05:00
dcn20 drm/amd/display: Do not set optimized_require to false after plane disable 2020-02-11 12:12:31 -05:00
dcn21 drm/amd/display: Add initialitions for PLL2 clock source 2020-02-11 15:09:18 -05:00
dml drm/amd/display: use odm combine for YCbCr420 timing with h_active greater than 4096 2020-01-22 16:55:28 -05:00
dsc drm/amd/display: Add debug option to disable DSC support 2020-01-22 16:55:27 -05:00
gpio
hdcp
inc drm/amd/display: fixup DML dependencies 2020-01-16 14:16:48 -05:00
irq
virtual
dc_bios_types.h
dc_ddc_types.h
dc_dmub_srv.c
dc_dmub_srv.h
dc_dp_types.h
dc_dsc.h drm/amd/display: Add debug option to override DSC target bpp increment 2019-12-18 16:09:11 -05:00
dc_helper.c drm/amd/display: Indirect reg read macro with shift and mask 2020-01-16 14:13:53 -05:00
dc_hw_types.h
dc_link.h drm/amd/display: reallocate MST payload when link loss 2020-01-16 14:16:54 -05:00
dc_stream.h drm/amd/display: make PSR static screen entry within 30 ms 2020-01-16 14:16:08 -05:00
dc_types.h drm/amd/display: make PSR static screen entry within 30 ms 2020-01-16 14:16:08 -05:00
dc.h drm/amd/display: 3.2.69 2020-01-22 16:55:28 -05:00
dm_cp_psp.h
dm_event_log.h
dm_helpers.h
dm_pp_smu.h
dm_services_types.h
dm_services.h
irq_types.h
Makefile
os_types.h