1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc
Mauro Rossi b70aaf5586 drm/amd/display: dce_transform: add DCE6 specific macros,functions
[Why]
DCE6 has no SCL_MODE and no SCL_{HORZ,VERT}_FILTER_INIT registers
DCE6 has no SCL_BOUNDARY_MODE bit in SCL_CONTROL register
DCE6 has Line Buffer programming registers (DC_LB_MEMORY_SPLIT,DC_LB_MEM_SIZE)
DCE6 DATA_FORMAT register has only INTERLEAVE_EN bit
DCE6 has no Out Clamp Control programming registers (OUT_CLAMP_CONTROL_*)

[How]
Add DCE6 specific macros definitions for XFM registers and masks
Add DCE6 specific registers to dce_transform_registers struct
Add DCE6 specific masks to dce_transform_mask struct
DCE6 XFM macros/structs changes will avoid buiding errors when using DCE6 headers
Add dce60_setup_scaling_configuration() w/o missing Scaling registers/bit programming
Add dce60_transform_set_scaler() using DCE6 Line Buffer programming registers
Add dce60_program_bit_depth_reduction() w/o Out Clamp Control programming
Add dce60_transform_set_pixel_storage_depth() use dce60_program_bit_depth_reduction()
Use dce60_transform_set_scaler() in dce60_transform_funcs
Use dce60_transform_set_pixel_storage_depth() in dce60_transform_funcs
Add DCE6 specific dce60_transform_construct

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-07-27 16:46:31 -04:00
..
basics drm/amd/dc: Kill dc_conn_log_hex_linux() 2020-04-01 14:44:59 -04:00
bios drm/amd/display: dc/bios: add support for DCE6 2020-07-27 16:45:58 -04:00
calcs drm/amd/display: Fix DML failures caused by doubled stereo viewport 2020-07-01 01:59:25 -04:00
clk_mgr drm/amd/display: dc/clk_mgr: add support for SI parts (v2) 2020-07-27 16:46:07 -04:00
core drm/amd/display: dc/core: add SI/DCE6 support (v2) 2020-07-27 16:45:55 -04:00
dce drm/amd/display: dce_transform: add DCE6 specific macros,functions 2020-07-27 16:46:31 -04:00
dce60 drm/amd/display: dc/dce60: set max_cursor_size to 64 2020-07-27 16:46:09 -04:00
dce80 drm/amd/display: change from panel to panel cntl 2020-04-22 18:11:48 -04:00
dce100 drm/amd/display: change from panel to panel cntl 2020-04-22 18:11:48 -04:00
dce110 drm/amd/display: interface to obtain minimum plane size caps 2020-07-21 15:37:39 -04:00
dce112 drm/amd/display: remove redundant initialization of variable result 2020-07-27 16:21:11 -04:00
dce120 drm/amd/display: Enable fp16 also on DCE-11.0 - DCE-12. (v2) 2020-05-21 12:46:51 -04:00
dcn10 drm/amd/display: Rename bytes_pp to the correct bits_pp 2020-07-27 16:23:21 -04:00
dcn20 drm/amd/display: Rename bytes_pp to the correct bits_pp 2020-07-27 16:23:21 -04:00
dcn21 drm/amd/display: interface to obtain minimum plane size caps 2020-07-21 15:37:39 -04:00
dcn30 drm/amd/display: Use proper abm/backlight functions for DCN3 2020-07-27 16:24:22 -04:00
dml drm/amd/display: Clean up global sync param retrieval 2020-07-27 16:23:14 -04:00
dsc drm/amd/display: rename dsc extended caps as dsc branch decoder caps 2020-07-21 15:37:39 -04:00
gpio drm/amd/display: dc/gpio: add support for DCE6 (v2) 2020-07-27 16:46:00 -04:00
hdcp drm/amd/display: query hdcp capability during link detect 2020-04-09 10:43:17 -04:00
inc drm/amd/display: Rename bytes_pp to the correct bits_pp 2020-07-27 16:23:21 -04:00
irq drm/amd/display: dc/irq: add support for DCE6 (v4) 2020-07-27 16:46:02 -04:00
virtual drm/amd/display: determine USB C DP2 mode only when USB DP Alt is enabled 2020-04-09 10:43:17 -04:00
dc.h drm/amd/display: 3.2.95 2020-07-21 15:37:39 -04:00
dc_bios_types.h drm/amd/display: Get num_chans from VBIOS table 2020-07-01 01:59:21 -04:00
dc_ddc_types.h drm/amd/display: Proper return of result when aux engine acquire fails 2019-10-25 16:50:09 -04:00
dc_dmub_srv.c Revert "drm/amd/display: add mechanism to skip DCN init" 2020-07-10 17:41:25 -04:00
dc_dmub_srv.h Revert "drm/amd/display: add mechanism to skip DCN init" 2020-07-10 17:41:25 -04:00
dc_dp_types.h drm/amd/display: rename dsc extended caps as dsc branch decoder caps 2020-07-21 15:37:39 -04:00
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: Pass command instead of header into DMUB service 2020-04-28 16:19:05 -04:00
dc_hw_types.h drm/amd/display: Implement AMD VSIF V3 2020-07-21 15:37:39 -04:00
dc_link.h drm/amd/display: DP link layer test 4.2.1.1 fix due to specs update 2020-07-01 01:59:26 -04:00
dc_stream.h drm/amd/display: Make new dc interface for adding dsc resource 2020-07-21 15:37:39 -04:00
dc_types.h drm/amd/display: Add register key and status for edid 2020-07-02 12:02:54 -04:00
dm_cp_psp.h drm/amd/display: enable assr 2020-07-01 01:59:25 -04: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: Add DCN3 Support in DM (v2) 2020-07-01 01:59:15 -04:00
dm_pp_smu.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_1 flag 2019-11-13 15:29:44 -05:00
dm_services.h drm/amd/display: Handle persistence in DM 2020-05-28 14:00:47 -04:00
dm_services_types.h drm/amd/display: Add definition for number of backlight data points 2019-12-18 16:09:08 -05:00
irq_types.h drm/amd/display: Add Vline1 interrupt source to InterruptManager 2019-01-28 11:44:10 -05:00
Makefile drm/amd/display: dc/dce: add initial DCE6 support (v10) 2020-07-27 16:45:51 -04:00
os_types.h drm/amd/display: Only actually breakpoint if DEBUG_KERNEL_DC is enabled 2020-07-01 01:59:16 -04:00