[Intel-gfx] [PATCH 0/6] Fixing sink count related detection over

Daniel Vetter daniel at ffwll.ch
Tue Nov 17 11:53:11 PST 2015


On Mon, Nov 02, 2015 at 06:25:10PM +0530, Shubhangi Shrivastava wrote:
> This patch set cleans up DP detection logic to bring all DPCD
> operations at one place and to create a clear demarcation
> between handling of long and short pulses. This simplifies
> fixing of sink count related detection for DP panels.
> 
> Patches:
> 1. First two patches clean up intel_dp_detect and form a new
> function which will include all DPCD related operations.
> 2. Second patch splits up intel_dp_check_link_status to form
> a new function which will handle short pulse requests.
> 3. Last three patches fixes the detection logic related to
> sink count i.e detect changes in sink count and handle them
> appropriately. 
> 
> Note: this is tested on BXT with non-mst panels,
> will get back ASAP with results for MST panels too. 

Sivakumar and Ander are working on reorganizing all the DP hpd handling,
at least they have been before I went on vacation. I think it would make
sense to land that work first, before we start to apply functional fixes.

Please coordinate with them.
-Daniel

> 
> Shubhangi Shrivastava (6):
>   drm/i915: Splitting intel_dp_detect
>   drm/i915: Cleaning up intel_dp_hpd_pulse
>   drm/i915: Splitting intel_dp_check_link_status
>   drm/i915: Save sink_count for tracking changes to it
>   drm/i915: read sink_count dpcd always
>   drm/i915: force full detect on sink count change
> 
>  drivers/gpu/drm/i915/intel_dp.c  | 170 +++++++++++++++++++++++++--------------
>  drivers/gpu/drm/i915/intel_drv.h |   1 +
>  2 files changed, 110 insertions(+), 61 deletions(-)
> 
> -- 
> 2.6.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list