mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 21:45:08 -04:00
drm/i915: pass dev_priv explicitly to TRANS_VRR_VTOTAL_PREV
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the TRANS_VRR_VTOTAL_PREV register macro. Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/de2c305ffef3df1112234baeae944b8dc84d0707.1715183162.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
@@ -1291,7 +1291,7 @@
|
||||
#define _TRANS_VRR_VTOTAL_PREV_B 0x61480
|
||||
#define _TRANS_VRR_VTOTAL_PREV_C 0x62480
|
||||
#define _TRANS_VRR_VTOTAL_PREV_D 0x63480
|
||||
#define TRANS_VRR_VTOTAL_PREV(trans) _MMIO_TRANS2(dev_priv, trans, \
|
||||
#define TRANS_VRR_VTOTAL_PREV(dev_priv, trans) _MMIO_TRANS2(dev_priv, trans, \
|
||||
_TRANS_VRR_VTOTAL_PREV_A)
|
||||
#define VRR_VTOTAL_FLIP_BEFR_BNDR REG_BIT(31)
|
||||
#define VRR_VTOTAL_FLIP_AFTER_BNDR REG_BIT(30)
|
||||
|
||||
Reference in New Issue
Block a user