Re: [PATCH 6.6] drm/amd/display: Don't refer to dc_sink in is_dsc_need_re_compute

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

 



[ Sasha's backport helper bot ]

Hi,

The upstream commit SHA1 provided is correct: fcf6a49d79923a234844b8efe830a61f3f0584e4

WARNING: Author mismatch between patch and upstream commit:
Backport author: Bin Lan <bin.lan.cn@xxxxxxxxxxxxx>
Commit author: Wayne Lin <wayne.lin@xxxxxxx>


Status in newer kernel trees:
6.12.y | Present (exact SHA1)
6.11.y | Present (exact SHA1)
6.6.y | Not found

Note: The patch differs from the upstream commit:
---
--- -	2024-11-25 20:41:54.282223961 -0500
+++ /tmp/tmp.tgMf4ggSev	2024-11-25 20:41:54.277757758 -0500
@@ -1,3 +1,5 @@
+[ Upstream commit fcf6a49d79923a234844b8efe830a61f3f0584e4 ]
+
 [Why]
 When unplug one of monitors connected after mst hub, encounter null pointer dereference.
 
@@ -14,15 +16,17 @@
 Signed-off-by: Wayne Lin <wayne.lin@xxxxxxx>
 Tested-by: Daniel Wheeler <daniel.wheeler@xxxxxxx>
 Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
+[ Resolve minor conflicts ]
+Signed-off-by: Bin Lan <bin.lan.cn@xxxxxxxxxxxxx>
 ---
- .../drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c  | 12 ++++--------
- 1 file changed, 4 insertions(+), 8 deletions(-)
+ drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 4 ++++
+ 1 file changed, 4 insertions(+)
 
 diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
-index ac60f688660ad..f60d55c17fb4f 100644
+index d390e3d62e56..9ec9792f115a 100644
 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
 +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
-@@ -182,6 +182,8 @@ amdgpu_dm_mst_connector_early_unregister(struct drm_connector *connector)
+@@ -179,6 +179,8 @@ amdgpu_dm_mst_connector_early_unregister(struct drm_connector *connector)
  		dc_sink_release(dc_sink);
  		aconnector->dc_sink = NULL;
  		aconnector->edid = NULL;
@@ -31,7 +35,7 @@
  	}
  
  	aconnector->mst_status = MST_STATUS_DEFAULT;
-@@ -498,6 +500,8 @@ dm_dp_mst_detect(struct drm_connector *connector,
+@@ -487,6 +489,8 @@ dm_dp_mst_detect(struct drm_connector *connector,
  		dc_sink_release(aconnector->dc_sink);
  		aconnector->dc_sink = NULL;
  		aconnector->edid = NULL;
@@ -40,18 +44,6 @@
  
  		amdgpu_dm_set_mst_status(&aconnector->mst_status,
  			MST_REMOTE_EDID | MST_ALLOCATE_NEW_PAYLOAD | MST_CLEAR_ALLOCATED_PAYLOAD,
-@@ -1238,14 +1242,6 @@ static bool is_dsc_need_re_compute(
- 		if (!aconnector || !aconnector->dsc_aux)
- 			continue;
- 
--		/*
--		 *	check if cached virtual MST DSC caps are available and DSC is supported
--		 *	as per specifications in their Virtual DPCD registers.
--		*/
--		if (!(aconnector->dc_sink->dsc_caps.dsc_dec_caps.is_dsc_supported ||
--			aconnector->dc_link->dpcd_caps.dsc_caps.dsc_basic_caps.fields.dsc_support.DSC_PASSTHROUGH_SUPPORT))
--			continue;
--
- 		stream_on_link[new_stream_on_link_num] = aconnector;
- 		new_stream_on_link_num++;
- 
+-- 
+2.43.0
+
---

Results of testing on various branches:

| Branch                    | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| stable/linux-6.6.y        |  Success    |  Success   |




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux