OSDN Git Service

drm/i915: Program SHPD_FILTER_CNT on CNP+
authorMatt Roper <matthew.d.roper@intel.com>
Wed, 27 Nov 2019 22:13:14 +0000 (14:13 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Mon, 2 Dec 2019 16:18:54 +0000 (08:18 -0800)
commitf49108d0e0e7e46a2fcf7322ab8f6753f3934aa1
treea099e9a84a1a8716716b790091dfe1c93a91d861
parent3d1e388d4072dd240e558709d2f73605a742a723
drm/i915: Program SHPD_FILTER_CNT on CNP+

The bspec tells us 'Program SHPD_FILTER_CNT with the "500 microseconds
adjusted" value before enabling hotplug detection' on CNP+.  We haven't
been touching this register at all thus far, but we should probably
follow the bspec's guidance.

The register also exists on LPT and SPT, but there isn't any specific
guidance I can find on how we should be programming it there so let's
leave it be for now.

Bspec: 4342
Bspec: 31297
Bspec: 8407
Bspec: 49305
Bspec: 50473

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191127221314.575575-3-matthew.d.roper@intel.com
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h