bianbu-linux-6.6/drivers/gpu/drm/amd/display/dc/irq
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
..
dce60 drm/amd/display: dc/irq: add support for DCE6 (v4) 2020-07-27 16:46:02 -04:00
dce80 drm/amd/display: cleanup of construct and destruct funcs 2019-11-19 10:12:52 -05:00
dce110 drm/amd/display: rename core_dc to dc 2019-12-05 16:26:39 -05:00
dce120 drm/amd/display: cleanup of construct and destruct funcs 2019-11-19 10:12:52 -05:00
dcn10 drm/amd/display: Add otg vertical interrupt0 support in DCN1.0 2021-02-09 15:29:02 -05:00
dcn20 drm/amd/display: Support vertical interrupt 0 for all dcn ASIC 2021-03-23 23:36:31 -04:00
dcn21 drm/amd/display: Support for DMUB AUX 2021-05-10 18:06:44 -04:00
dcn30 drm/amd/display: Log DMCUB trace buffer events 2021-04-09 16:40:43 -04:00
dcn302 drm/amd/display: add DMCUB trace irq support for DCN302 2021-04-09 16:49:27 -04:00
irq_service.c drm/amd/display/dc/irq/irq_service: Make local function static 2021-01-13 23:53:26 -05:00
irq_service.h amdgpu/dc: fix construct return values on irq service. 2017-09-29 13:02:54 -04:00
Makefile drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00