bianbu-linux-6.6/drivers/gpu/drm/amd/display/dc/dce
Jude Shih 81927e2808 drm/amd/display: Support for DMUB AUX
[WHY]
To process AUX transactions with DMUB using inbox1 and outbox1 mail boxes.

[How]
1) Added inbox1 command DMUB_CMD__DP_AUX_ACCESS to issue AUX commands
   to DMUB in dc_process_dmub_aux_transfer_async(). DMUB processes AUX cmd
   with DCN and sends reply back in an outbox1 message triggering an
   outbox1 interrupt to driver.
2) In existing driver implementation, AUX commands are processed
   synchronously by configuring DCN reg. But in DMUB AUX, driver sends an
   inbox1 message and waits for a conditional variable (CV) which will be
   signaled by outbox1 ISR.
3) DM will retrieve Outbox1 message and send back reply to upper layer
   and complete the AUX command

Signed-off-by: Jude Shih <shenshih@amd.com>
Reviewed-by: Hanghong Ma <Hanghong.Ma@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Wayne Lin <Wayne.Lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-05-10 18:06:44 -04:00
..
dce_abm.c drm/amd/display: use GFP_ATOMIC in dcn20_resource_construct 2021-04-09 16:38:22 -04:00
dce_abm.h drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00
dce_audio.c drm/amd/display/dc/dce/dce_audio: Make function invoked by reference static 2021-01-11 16:09:13 -05:00
dce_audio.h drm/amd/display: dce_audio: add DCE6 specific macros,functions 2020-07-27 16:46:12 -04:00
dce_aux.c drm/amd/display: Support for DMUB AUX 2021-05-10 18:06:44 -04:00
dce_aux.h drm/amd/display: Support for DMUB AUX 2021-05-10 18:06:44 -04:00
dce_clk_mgr.c drm/amd/display: correct asic type check V2 2020-10-27 12:01:16 -04:00
dce_clock_source.c drm/amd/display: Fix 64 bit divisions on 32 bit platforms by using div64 API 2021-03-02 14:07:59 -05:00
dce_clock_source.h drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00
dce_dmcu.c drm/amd/display: use GFP_ATOMIC in dcn20_resource_construct 2021-04-09 16:38:22 -04:00
dce_dmcu.h drm/amd/display: Add Freesync HDMI support to DMCU 2021-02-02 12:11:41 -05:00
dce_hwseq.c drm/amd/display: dce_hwseq: add DCE6 specific macros,functions 2020-07-27 16:46:17 -04:00
dce_hwseq.h drm/amd/display: Add DMCU memory low power support 2020-11-24 12:07:31 -05:00
dce_i2c.c drm/amd/display: add oem i2c implemenation in dc 2019-11-13 15:29:43 -05:00
dce_i2c.h drm/amd/display: Remove redundant i2c structs 2018-08-27 15:20:56 -05:00
dce_i2c_hw.c drm/amd/display/dc/dce/dce_i2c_hw: Make functions called by reference static 2021-01-11 16:09:14 -05:00
dce_i2c_hw.h drm/amd/display: Add I2C memory low power support 2020-11-16 12:19:22 -05:00
dce_i2c_sw.c drm/amd/display/dc/dce/dce_i2c_sw: Make a bunch of local functions static 2021-01-11 16:09:14 -05:00
dce_i2c_sw.h drm/amd/display: add oem i2c implemenation in dc 2019-11-13 15:29:43 -05:00
dce_ipp.c drm/amd/display: dce_ipp: add DCE6 specific macros,functions 2020-07-27 16:46:20 -04:00
dce_ipp.h drm/amd/display: dce_ipp: add DCE6 specific macros,functions 2020-07-27 16:46:20 -04:00
dce_link_encoder.c drm/amd/display/dc/dce/dce_link_encoder: Remove unused variable 'value0' 2021-01-13 23:53:25 -05:00
dce_link_encoder.h drm/amd/display: Add get_dig_frontend implementation for DCEx 2020-12-16 13:27:08 -05:00
dce_mem_input.c drm/amd/display: dce_mem_input: add DCE6 specific macros,functions (v2) 2020-07-27 16:46:26 -04:00
dce_mem_input.h drm/amd/display: dce_mem_input: add DCE6 specific macros,functions (v2) 2020-07-27 16:46:26 -04:00
dce_opp.c drm/amd/display: Allow spatial dither to 10 bpc on all DCE 2021-02-24 09:28:54 -05:00
dce_opp.h drm/amd/display/dc/dce/dce_opp: Remove duplicate entries causing 'field overwritten' issues 2021-01-13 23:53:26 -05:00
dce_panel_cntl.c drm/amd/display/dc/dce/dce_panel_cntl: Remove unused variables 'bl_pwm_cntl' and 'pwm_period_cntl' 2021-01-11 16:09:14 -05:00
dce_panel_cntl.h drm/amd/display: Bug in dce_is_panel_backlight_on() 2020-09-22 12:27:35 -04:00
dce_scl_filters.c drm/amd/display: update scaling filters 2020-02-25 11:02:33 -05:00
dce_scl_filters_old.c drm/amd/display: update scaling filters 2020-02-25 11:02:33 -05:00
dce_stream_encoder.c drm/amd/display: Fix HDMI deep color output for DCE 6-11. 2021-01-25 17:49:47 -05:00
dce_stream_encoder.h drm/amd/display: Connect dig_fe to otg directly instead of calling bios 2019-01-25 16:15:37 -05:00
dce_transform.c drm/amd/display: Fix 10/12 bpc setup in DCE output bit depth reduction. 2021-01-25 17:49:41 -05:00
dce_transform.h drm/amd/display: dce_transform: DCE6 Scaling Horizontal Filter Init (v2) 2020-07-27 16:46:34 -04:00
dmub_abm.c drm/amd/display: Added multi instance support for ABM 2021-04-28 23:35:50 -04:00
dmub_abm.h drm/amd/display: Add ABM driver implementation 2020-04-01 14:44:44 -04:00
dmub_hw_lock_mgr.c drm/amd/display: Initialize dmub_rb_cmd unions to 0 2021-02-09 15:48:11 -05:00
dmub_hw_lock_mgr.h drm/amd/display: Use dmub fw to lock pipe, cursor, dig 2020-07-01 01:59:24 -04:00
dmub_outbox.c drm/amd/display: Support for DMUB AUX 2021-03-02 14:05:41 -05:00
dmub_outbox.h drm/amd/display: Support for DMUB AUX 2021-03-02 14:05:41 -05:00
dmub_psr.c drm/amd/display: Fix DSC enable sequence 2021-04-15 16:31:09 -04:00
dmub_psr.h drm/amd/display: Hook up PSR residency command to DSAT 2020-11-16 12:18:38 -05:00
Makefile drm/amd/display: Support for DMUB AUX 2021-03-02 14:05:41 -05:00