mirror_ubuntu-kernels/drivers/gpu/drm/amd/display/dc
Dillon Varone 8c2f14c36f drm/amd/display: Add changes for dsc bpp in 16ths and unify bw calculations
[Why?]
Some code still expected bpp to be used in whole bits, not 16ths.  dsc.c uses
redundant function now found in dc to calculate stream bandwidth from timing.

[How?]
Fix code to work with 16ths instead of whole bits for dsc bpp.
Refactor get_dsc_bandwidth to accept inputs in 16ths of a bit.
Use dc function to calculate bandwidth from timing, and make dsc bw calculation
a part of dsc.c.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Dillon Varone <dillon.varone@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-03-23 23:32:31 -04:00
..
basics Revert "drm/amd/display: Unblank hubp based on plane visibility" 2021-02-18 16:43:10 -05:00
bios drm/amd/display: Added multi instance support for panel control 2021-03-23 23:02:53 -04:00
calcs drm/amd/display/dc/calcs/dce_calcs: Demote non-conformant kernel-doc function headers 2021-01-14 13:20:20 -05:00
clk_mgr drm/amd/display: System black screen hangs on driver load 2021-03-23 23:31:49 -04:00
core drm/amd/display: Add changes for dsc bpp in 16ths and unify bw calculations 2021-03-23 23:32:31 -04:00
dce drm/amd/display: remove redundant initialization of variable status 2021-03-05 15:14:02 -05:00
dce60 drm/amd/display/dc/dce60/dce60_resource: Include our own header containing prototypes 2021-01-14 13:20:21 -05:00
dce80 drm/amd/display/dc/dce80/dce80_resource: Include our own header containing prototypes 2021-01-14 13:20:20 -05:00
dce100 drm/amd/display/dc/dce100/dce100_resource: Include our own header containing prototypes 2021-01-14 13:20:20 -05:00
dce110 drm/amd/display: Added multi instance support for panel control 2021-03-23 23:02:53 -04:00
dce112 drm/amd/display/dc/dce112/dce112_resource: Include our own header file containing prototypes 2021-01-14 13:20:20 -05:00
dce120 drm/amd/display/dc/dce120/dce120_timing_generator: Remove unused function 'dce120_timing_generator_get_position' 2021-01-13 23:53:26 -05:00
dcn10 drm/amd/display: use max lb for latency hiding 2021-03-23 23:31:46 -04:00
dcn20 drm/amd/display: use max lb for latency hiding 2021-03-23 23:31:46 -04:00
dcn21 drm/amd/display: use max lb for latency hiding 2021-03-23 23:31:46 -04:00
dcn30 drm/amd/display: use max lb for latency hiding 2021-03-23 23:31:46 -04:00
dcn301 drm/amd/display: use max lb for latency hiding 2021-03-23 23:31:46 -04:00
dcn302 drm/amd/display: use max lb for latency hiding 2021-03-23 23:31:46 -04:00
dml drm/amd/display: Fix HSplit causing increase in DSC Slice Count 2021-03-02 14:07:46 -05:00
dsc drm/amd/display: Add changes for dsc bpp in 16ths and unify bw calculations 2021-03-23 23:32:31 -04:00
gpio drm/amd/display: remove duplicate include in dcn21 and gpio 2021-03-23 23:03:32 -04:00
hdcp drm/amd/display: Fix off by one in hdmi_14_process_transaction() 2021-03-03 10:51:37 -05:00
inc drm/amd/display: Enable pflip interrupt upon pipe enable 2021-03-23 23:02:33 -04:00
irq drm/amd/display: Add vupdate_no_lock interrupts for DCN2.1 2021-02-22 18:03:08 -05:00
virtual drm/amd/display: Add dp_set_dsc_pps_info_packet to virtual stream encoder 2020-09-29 16:08:31 -04:00
dc_bios_types.h drm/amd/display: Added multi instance support for panel control 2021-03-23 23:02:53 -04:00
dc_ddc_types.h drm/amd/display: Support for DMUB AUX 2021-03-02 14:05:41 -05:00
dc_dmub_srv.c drm/amd/display: Fixed read/write pointer issue for get dmub trace 2021-03-23 23:02:46 -04:00
dc_dmub_srv.h drm/amd/display: Fixed read/write pointer issue for get dmub trace 2021-03-23 23:02:46 -04:00
dc_dp_types.h drm/amd/display: doesn't reprogram AMD OUI 2021-01-13 23:43:38 -05:00
dc_dsc.h drm/amd/display: Add changes for dsc bpp in 16ths and unify bw calculations 2021-03-23 23:32:31 -04:00
dc_edid_parser.c drm/amd/display: Add Freesync HDMI support to DMCU 2021-02-02 12:11:41 -05:00
dc_edid_parser.h drm/amd/display: Add Freesync HDMI support to DMCU 2021-02-02 12:11:41 -05:00
dc_helper.c drm/amd/display/dc/dc_helper: Include our own header, containing prototypes 2021-01-14 13:20:20 -05:00
dc_hw_types.h drm/amd/display: Increase precision for bpp in DSC calculations 2021-03-23 23:32:27 -04:00
dc_link.h drm/amd/display: Refactored DC interfaces to support multiple eDP 2021-03-02 14:06:45 -05:00
dc_stat.h drm/amd/display: Support for DMUB AUX 2021-03-02 14:05:41 -05:00
dc_stream.h drm/amd/display: Process crc window at DMCU 2021-03-05 15:11:54 -05:00
dc_trace.h drm/amd/display: Add tracepoint for capturing clocks state 2020-10-26 13:34:26 -04:00
dc_types.h drm/amd/display: Add dual edp optimization flag. 2020-11-16 12:19:33 -05:00
dc.h drm/amd/display: System black screen hangs on driver load 2021-03-23 23:31:49 -04:00
dm_cp_psp.h drm/amd/display: correct some hdcp variable naming 2021-02-02 12:09:09 -05:00
dm_event_log.h drm/amd/display: Add customizable tracing event 2018-11-30 12:02:49 -05:00
dm_helpers.h drm/amd/display: Implement dmub trace event 2021-03-02 14:07:10 -05:00
dm_pp_smu.h drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00
dm_services_types.h drm/amd/display: Add definition for number of backlight data points 2019-12-18 16:09:08 -05:00
dm_services.h drm/amd/display: Decouple amdgpu_dm_trace from service 2020-10-26 13:33:59 -04:00
irq_types.h drm/amd/display: Implement dmub trace event 2021-03-02 14:07:10 -05:00
Makefile drm/amd/display: Support for DMUB AUX 2021-03-02 14:05:41 -05:00
os_types.h drm/amdgpu/display: drop DCN support for aarch64 2021-01-05 11:35:53 -05:00