mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 08:39:08 -04:00
drm/amd/display: Skip enabling DMCUB when using emulation
[Why & How] Shouldn't be touching path for HW DMCUB when emulating. Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Acked-by: Alan Liu <haoping.liu@amd.com> Signed-off-by: Taimur Hassan <syed.hassan@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
135fd1b356
commit
e198a746fc
@@ -639,11 +639,11 @@ enum dmub_status dmub_srv_hw_init(struct dmub_srv *dmub,
|
||||
if (dmub->hw_funcs.enable_dmub_boot_options)
|
||||
dmub->hw_funcs.enable_dmub_boot_options(dmub, params);
|
||||
|
||||
if (dmub->hw_funcs.skip_dmub_panel_power_sequence)
|
||||
if (dmub->hw_funcs.skip_dmub_panel_power_sequence && !dmub->is_virtual)
|
||||
dmub->hw_funcs.skip_dmub_panel_power_sequence(dmub,
|
||||
params->skip_panel_power_sequence);
|
||||
|
||||
if (dmub->hw_funcs.reset_release)
|
||||
if (dmub->hw_funcs.reset_release && !dmub->is_virtual)
|
||||
dmub->hw_funcs.reset_release(dmub);
|
||||
|
||||
dmub->hw_init = true;
|
||||
|
||||
Reference in New Issue
Block a user