summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_psr.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2024-04-30 13:10:09 +0300
committerJani Nikula <jani.nikula@intel.com>2024-05-06 10:25:39 +0300
commitdb92d423dc360ba957314e3c87ae67108216a6da (patch)
tree3df2d1553a30c546bea2b8f2713e80f827c9c40b /drivers/gpu/drm/i915/display/intel_psr.c
parentdd17285e94c2462848aa6e60f0e8edc880e9c19f (diff)
downloadlinux-db92d423dc360ba957314e3c87ae67108216a6da.tar.gz
linux-db92d423dc360ba957314e3c87ae67108216a6da.tar.bz2
linux-db92d423dc360ba957314e3c87ae67108216a6da.zip
drm/i915: pass dev_priv explicitly to PIPE_SRCSZ_ERLY_TPT
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PIPE_SRCSZ_ERLY_TPT register macro. Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/b37217f55702fc10190c2c5aded7d845a36766f6.1714471597.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_psr.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_psr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
index 638f01f0c328..e3221cd5bf57 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -2303,7 +2303,7 @@ void intel_psr2_program_trans_man_trk_ctl(const struct intel_crtc_state *crtc_st
if (!crtc_state->enable_psr2_su_region_et)
return;
- intel_de_write(dev_priv, PIPE_SRCSZ_ERLY_TPT(crtc->pipe),
+ intel_de_write(dev_priv, PIPE_SRCSZ_ERLY_TPT(dev_priv, crtc->pipe),
crtc_state->pipe_srcsz_early_tpt);
}