diff options
author | Jani Nikula <jani.nikula@intel.com> | 2024-06-04 17:25:26 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2024-06-07 10:13:17 +0200 |
commit | 9cacbd237f51a9646da04c0cba08d542069b73b0 (patch) | |
tree | ead8867738e7200aaa8bea327b8c7cd858573bc2 /drivers/gpu/drm/i915/display/icl_dsi.c | |
parent | drm/i915: pass dev_priv explicitly to TRANS_VBLANK (diff) | |
download | linux-9cacbd237f51a9646da04c0cba08d542069b73b0.tar.xz linux-9cacbd237f51a9646da04c0cba08d542069b73b0.zip |
drm/i915: pass dev_priv explicitly to TRANS_VSYNC
Avoid the implicit dev_priv local variable use, and pass dev_priv
explicitly to the TRANS_VSYNC register macro.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/eed30cb59cc45955a88cdf951023b0e695095760.1717514638.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/icl_dsi.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/icl_dsi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/icl_dsi.c b/drivers/gpu/drm/i915/display/icl_dsi.c index 0ee42954054f..b267099fde8a 100644 --- a/drivers/gpu/drm/i915/display/icl_dsi.c +++ b/drivers/gpu/drm/i915/display/icl_dsi.c @@ -967,7 +967,8 @@ gen11_dsi_set_transcoder_timings(struct intel_encoder *encoder, if (is_vid_mode(intel_dsi)) { for_each_dsi_port(port, intel_dsi->ports) { dsi_trans = dsi_port_to_transcoder(port); - intel_de_write(dev_priv, TRANS_VSYNC(dsi_trans), + intel_de_write(dev_priv, + TRANS_VSYNC(dev_priv, dsi_trans), VSYNC_START(vsync_start - 1) | VSYNC_END(vsync_end - 1)); } } |