bianbu-linux-6.6/drivers/gpu/drm/amd/display/dc
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
..
basics Revert "drm/amd/display: Unblank hubp based on plane visibility" 2021-02-18 16:43:10 -05:00
bios drm/amd/display: Add new case to get spread spectrum info 2021-04-28 23:35:50 -04:00
calcs drm/amd/display/dc/calcs/dce_calcs: Remove some large variables from the stack 2021-04-09 16:38:16 -04:00
clk_mgr drm/amdgpu/dc: Revert commit "treat memory as a single-channel" 2021-05-10 18:06:44 -04:00
core drm/amd/display: Support for DMUB AUX 2021-05-10 18:06:44 -04:00
dce drm/amd/display: Support for DMUB AUX 2021-05-10 18:06:44 -04: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: Make local functions static 2021-04-09 16:38:05 -04: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: Add link rate optimization logs for ILR 2021-04-20 21:41:28 -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: update DCN to use new surface programming 2021-05-10 18:06:44 -04:00
dcn20 drm/amd/display: update DCN to use new surface programming 2021-05-10 18:06:44 -04:00
dcn21 drm/amd/display: Added multi instance support for ABM 2021-04-28 23:35:50 -04:00
dcn30 drm/amd/display: Add SE_DCN3_REG_LIST for control SDP num 2021-04-28 23:35:50 -04:00
dcn301 drm/amd/display: Connect clock optimization function to dcn301 2021-04-15 16:31:52 -04:00
dcn302 drm/amd/display: Update DCN302 SR Exit Latency 2021-04-09 16:54:57 -04:00
dml drm/amd/display: Cleanup DML DSC input bpc validation 2021-04-09 16:53:32 -04:00
dsc drm/amd/display: add dsc stream overhead for dp only 2021-05-10 18:06:44 -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: add dsc stream overhead for dp only 2021-05-10 18:06:44 -04:00
irq drm/amd/display: Support for DMUB AUX 2021-05-10 18:06:44 -04: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.h drm/amdgpu/dc: Revert commit "treat memory as a single-channel" 2021-05-10 18:06:44 -04:00
dc_bios_types.h drm/amd/display: Interface for LTTPR interop 2021-04-09 16:48:25 -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: Support for DMUB AUX 2021-05-10 18:06:44 -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 dsc stream overhead for dp only 2021-05-10 18:06:44 -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: add dsc stream overhead for dp only 2021-05-10 18:06:44 -04:00
dc_link.h drm/amd/display: removed unused function dc_link_reallocate_mst_payload. 2021-04-20 21:38:21 -04: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: Remove unused flag from stream state 2021-04-15 16:31:44 -04: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 dsc stream overhead for dp only 2021-05-10 18:06:44 -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: Support for DMUB AUX 2021-05-10 18:06:44 -04: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.h drm/amd/display: Decouple amdgpu_dm_trace from service 2020-10-26 13:33:59 -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: Support for DMUB AUX 2021-05-10 18:06:44 -04:00
Makefile drm/amd/display: Support for DMUB AUX 2021-05-10 18:06:44 -04:00
os_types.h drm/amdgpu/display: drop DCN support for aarch64 2021-01-05 11:35:53 -05:00