Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/i915/dp: Fix the device service IRQ DPCD_REV check

The DP_DEVICE_SERVICE_IRQ_VECTOR DPCD register is supported since DPCD
REV 1.0, so read it out always. Flags added only by later DPCD revisions
are defined as reserved/must-be-zero by earlier DP Standard versions.

Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20260225164618.1261368-10-imre.deak@intel.com

Imre Deak e0f252bb 21bd6328

-3
-3
drivers/gpu/drm/i915/display/intel_dp.c
··· 5790 5790 struct intel_display *display = to_intel_display(intel_dp); 5791 5791 u8 val; 5792 5792 5793 - if (intel_dp->dpcd[DP_DPCD_REV] < 0x11) 5794 - return; 5795 - 5796 5793 if (drm_dp_dpcd_readb(&intel_dp->aux, 5797 5794 DP_DEVICE_SERVICE_IRQ_VECTOR, &val) != 1 || !val) 5798 5795 return;