mirror_ubuntu-kernels/drivers/gpu/drm/amd/display/dc
Nicholas Kazlauskas a243e38e69 drm/amd/display: Skip querying caps when DMCUB emulation is in use
[Why]
Workaround to avoid accessing DMCUB state too early if the emulator
is in use - we don't support any of the features the caps are querying
with emulation anyway.

[How]
Guard the query if emulation is in use.

Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Alan Liu <haoping.liu@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-07-18 11:14:08 -04:00
..
basics drm/amd/display: Add missing static 2023-07-18 11:13:30 -04:00
bios drm/amd/display: Add missing static 2023-07-18 11:13:30 -04:00
clk_mgr drm/amd/display: Hardcode vco_freq for dcn316 2023-07-18 11:13:36 -04:00
core drm/amd/display: Update scaler recout data for visual confirm 2023-07-18 11:14:02 -04:00
dce drm/amd/display: Add missing static 2023-07-18 11:13:30 -04:00
dce60 drm/amd/display/dc/dce60/Makefile: Fix previous attempt to silence known override-init warnings 2023-03-22 00:48:00 -04:00
dce80 drm/amd/display: Improve the include of header file 2023-07-18 11:13:08 -04:00
dce100 drm/amd/display: Refactor fast update to use new HWSS build sequence 2023-06-09 12:41:22 -04:00
dce110 drm/amd/display: Add control flag to dc_stream_state to skip eDP BL off/link off 2023-06-09 12:41:29 -04:00
dce112 drm/amd/display: add a NULL pointer check 2023-06-23 15:40:40 -04:00
dce120 drm/amd/display: Refactor fast update to use new HWSS build sequence 2023-06-09 12:41:22 -04:00
dcn10 drm/amd/display: Update scaler recout data for visual confirm 2023-07-18 11:14:02 -04:00
dcn20 drm/amd/display: Block optimize on consecutive FAMS enables 2023-07-10 09:02:07 -04:00
dcn21 drm/amd/display: Add missing static 2023-07-18 11:13:30 -04:00
dcn30 drm/amd/display: export some optc function for reuse 2023-07-13 17:29:31 -04:00
dcn31 drm/amd/display: Use is_dig_enable function instead of dcn10 hardcode 2023-07-18 11:12:29 -04:00
dcn32 drm/amd/display: Create debugging mechanism for Gaming FAMS 2023-06-30 13:12:16 -04:00
dcn201 drm/amd/display: Refactor fast update to use new HWSS build sequence 2023-06-09 12:41:22 -04:00
dcn301 drm/amd/display: Enable 3 plane for DCN 3.01 2023-07-18 11:08:32 -04:00
dcn302 drm/amd/display: enable the new fast update path for supported ASICs 2023-06-23 15:43:25 -04:00
dcn303 drm/amd/display: Enable dc mode clock switching for DCN32x 2023-06-23 15:45:57 -04:00
dcn314 drm/amd/display: fix odm k2 div calculation 2023-06-23 15:44:48 -04:00
dcn315 amd/display/dc: remove repeating expression 2023-06-23 15:31:42 -04:00
dcn316 drm/amd/display: Refactor fast update to use new HWSS build sequence 2023-06-09 12:41:22 -04:00
dcn321 drm/amd/display: Enable dc mode clock switching for DCN32x 2023-06-23 15:45:57 -04:00
dml drm/amd/display: Remove asserts 2023-06-30 13:11:35 -04:00
dsc drm/amd/display: drop redundant memset() in get_available_dsc_slices() 2023-06-09 10:38:37 -04:00
gpio drm/amd/display: fix mapping to non-allocated address 2023-01-17 15:40:44 -05:00
hdcp drm/amd/display: Drop CONFIG_DRM_AMD_DC_HDCP 2023-03-07 14:22:39 -05:00
inc drm/amd/display: Remove unused function 2023-07-18 11:13:23 -04:00
irq drm/amd/display: Add missing static 2023-07-18 11:13:30 -04:00
link drm/amd/display: Re-add aux intercept disable delay generically for 2+ LTTPRs 2023-07-18 11:12:42 -04:00
virtual drm/amd/display: make virtual_disable_link_output static 2022-10-11 11:32:59 -04:00
dc_bios_types.h drm/amd/display: Skip backlight control delay on external powered links 2023-01-17 15:40:28 -05:00
dc_ddc_types.h drm/amd/display: move public dc link function implementation to dc_link_exports 2023-02-14 16:06:28 -05:00
dc_dmub_srv.c drm/amd/display: Skip querying caps when DMCUB emulation is in use 2023-07-18 11:14:08 -04:00
dc_dmub_srv.h drm/amd/display: Set minimum requirement for using PSR-SU on Rembrandt 2023-06-30 13:11:36 -04:00
dc_dp_types.h drm/amd/display: Add DP2 Metrics 2023-06-15 10:44:10 -04:00
dc_dsc.h drm/amd/display: DSC policy override when ODM combine is forced 2023-04-18 16:28:52 -04:00
dc_edid_parser.c
dc_edid_parser.h
dc_hdmi_types.h drm/amd/display/dc/dc_hdmi_types: Move string definition to the only file it's used in 2023-03-22 00:47:59 -04:00
dc_helper.c drm/amd/display: Clean FPGA code in dc 2023-06-09 10:44:11 -04:00
dc_hw_types.h drm/amd/display: Rename DCN config to FP 2023-03-07 14:22:40 -05:00
dc_stat.h
dc_stream.h drm/amd/display: Add control flag to dc_stream_state to skip eDP BL off/link off 2023-06-09 12:41:29 -04:00
dc_trace.h drm/amd/display: Add events log to trace OPTC lock and unlock 2022-10-24 14:36:06 -04:00
dc_types.h drm/amd/display: Re-add aux intercept disable delay generically for 2+ LTTPRs 2023-07-18 11:12:42 -04:00
dc.h drm/amd/display: Re-add aux intercept disable delay generically for 2+ LTTPRs 2023-07-18 11:12:42 -04:00
dm_cp_psp.h
dm_event_log.h
dm_helpers.h drm/amd/display: Enable Freesync over PCon 2023-01-31 14:00:44 -05:00
dm_pp_smu.h
dm_services_types.h drm/amd/display: refactor dmub commands into single function 2023-04-18 16:28:52 -04:00
dm_services.h drm/amd/display: Show the DCN/DCE version in the log 2023-06-09 09:34:09 -04:00
irq_types.h
Makefile drm/amd/display: Rename DCN config to FP 2023-03-07 14:22:40 -05:00
os_types.h drm/amd/display: Rename DCN config to FP 2023-03-07 14:22:40 -05:00