drm/i915/hdcp: Fix HDCP2_STREAM_STATUS macro
authorjsg <jsg@openbsd.org>
Tue, 13 Aug 2024 02:16:08 +0000 (02:16 +0000)
committerjsg <jsg@openbsd.org>
Tue, 13 Aug 2024 02:16:08 +0000 (02:16 +0000)
From Suraj Kandpal
9541f99b2651adaeb1425474096999e689a60497 in linux-6.6.y/6.6.45
555069117390a5d581863bc797fb546bb4417c31 in mainline linux

sys/dev/pci/drm/i915/display/intel_hdcp_regs.h

index 8023c85..7405938 100644 (file)
 #define HDCP2_STREAM_STATUS(dev_priv, trans, port) \
                                        (GRAPHICS_VER(dev_priv) >= 12 ? \
                                         TRANS_HDCP2_STREAM_STATUS(trans) : \
-                                        PIPE_HDCP2_STREAM_STATUS(pipe))
+                                        PIPE_HDCP2_STREAM_STATUS(port))
 
 #define _PORTA_HDCP2_AUTH_STREAM               0x66F00
 #define _PORTB_HDCP2_AUTH_STREAM               0x66F04