Patch "drm/i915/dp: Fix DSC state HW readout for SST connectors" has been added to the 6.8-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/i915/dp: Fix DSC state HW readout for SST connectors

to the 6.8-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-i915-dp-fix-dsc-state-hw-readout-for-sst-connect.patch
and it can be found in the queue-6.8 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 11cf2c922097b78a9aa374dda2bb9c286a445ed3
Author: Imre Deak <imre.deak@xxxxxxxxx>
Date:   Mon Mar 11 16:56:26 2024 +0200

    drm/i915/dp: Fix DSC state HW readout for SST connectors
    
    [ Upstream commit d725ce9d7c78fb4e22c6c7676106e135ade14fa8 ]
    
    Commit 0848814aa296 ("drm/i915/dp: Fix connector DSC HW state readout")
    moved the DSC HW state readout to a connector specific hook, however
    only added the hook for DP MST connectors, not for DP SST ones. Fix
    adding the hook for SST connectors as well.
    
    This fixes the following warn on platforms where BIOS enables DSC:
    
    [   66.208601] i915 0000:00:02.0: drm_WARN_ON(!connector->dp.dsc_decompression_aux || !connector->dp.dsc_decompression_enabled)
    ...
    [   66.209024] RIP: 0010:intel_dp_sink_disable_decompression+0x76/0x110 [i915]
    ...
    [   66.209333]  ? intel_dp_sink_disable_decompression+0x76/0x110 [i915]
    ...
    [   66.210068]  intel_disable_ddi+0x135/0x1d0 [i915]
    [   66.210302]  intel_encoders_disable+0x9b/0xc0 [i915]
    [   66.210565]  hsw_crtc_disable+0x153/0x170 [i915]
    [   66.210823]  intel_old_crtc_state_disables+0x52/0xb0 [i915]
    [   66.211107]  intel_atomic_commit_tail+0x5cf/0x1330 [i915]
    [   66.211366]  intel_atomic_commit+0x39d/0x3f0 [i915]
    [   66.211612]  ? intel_atomic_commit+0x39d/0x3f0 [i915]
    [   66.211872]  drm_atomic_commit+0x9d/0xd0 [drm]
    [   66.211921]  ? __pfx___drm_printfn_info+0x10/0x10 [drm]
    [   66.211975]  intel_initial_commit+0x1a8/0x260 [i915]
    [   66.212234]  intel_display_driver_probe+0x2a/0x80 [i915]
    [   66.212479]  i915_driver_probe+0x7c6/0xc60 [i915]
    [   66.212664]  ? drm_privacy_screen_get+0x168/0x190 [drm]
    [   66.212711]  i915_pci_probe+0xe2/0x1c0 [i915]
    
    Fixes: 0848814aa296 ("drm/i915/dp: Fix connector DSC HW state readout")
    Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/10410
    Cc: Ankit Nautiyal <ankit.k.nautiyal@xxxxxxxxx>
    Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@xxxxxxxxx>
    Signed-off-by: Imre Deak <imre.deak@xxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20240311145626.2454923-1-imre.deak@xxxxxxxxx
    (cherry picked from commit 7a51a2aa2384ea8bee76698ae586a2bea5b8ddb5)
    Signed-off-by: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 94d2a15d8444a..820cc9d3cc0b3 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -6523,6 +6523,7 @@ intel_dp_init_connector(struct intel_digital_port *dig_port,
 		intel_connector->get_hw_state = intel_ddi_connector_get_hw_state;
 	else
 		intel_connector->get_hw_state = intel_connector_get_hw_state;
+	intel_connector->sync_state = intel_dp_connector_sync_state;
 
 	if (!intel_edp_init_connector(intel_dp, intel_connector)) {
 		intel_dp_aux_fini(intel_dp);




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux