mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 11:33:28 +02:00
drm/i915: pass dev_priv explicitly to TRANS_VRR_STATUS2
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the TRANS_VRR_STATUS2 register macro. Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/a8e095f1ac3b3d41343f7e6d8dd191e9e2a6d76a.1715183162.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
e050e2aced
commit
48d47a4083
|
|
@ -1310,7 +1310,7 @@
|
|||
#define _TRANS_VRR_STATUS2_B 0x6143C
|
||||
#define _TRANS_VRR_STATUS2_C 0x6243C
|
||||
#define _TRANS_VRR_STATUS2_D 0x6343C
|
||||
#define TRANS_VRR_STATUS2(trans) _MMIO_TRANS2(dev_priv, trans, _TRANS_VRR_STATUS2_A)
|
||||
#define TRANS_VRR_STATUS2(dev_priv, trans) _MMIO_TRANS2(dev_priv, trans, _TRANS_VRR_STATUS2_A)
|
||||
#define VRR_STATUS2_VERT_LN_CNT_MASK REG_GENMASK(19, 0)
|
||||
|
||||
#define _TRANS_PUSH_A 0x60A70
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user