mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
drm/i915: s/cstate/crtc_state/ in intel_get_frame_time_us()
Use standard variable name 'crtc_state' instead of 'cstate'. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231207193441.20206-8-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
7f4f756df7
commit
e81f48512a
|
|
@ -891,13 +891,13 @@ transcoder_has_psr2(struct drm_i915_private *dev_priv, enum transcoder cpu_trans
|
|||
return false;
|
||||
}
|
||||
|
||||
static u32 intel_get_frame_time_us(const struct intel_crtc_state *cstate)
|
||||
static u32 intel_get_frame_time_us(const struct intel_crtc_state *crtc_state)
|
||||
{
|
||||
if (!cstate->hw.active)
|
||||
if (!crtc_state->hw.active)
|
||||
return 0;
|
||||
|
||||
return DIV_ROUND_UP(1000 * 1000,
|
||||
drm_mode_vrefresh(&cstate->hw.adjusted_mode));
|
||||
drm_mode_vrefresh(&crtc_state->hw.adjusted_mode));
|
||||
}
|
||||
|
||||
static void psr2_program_idle_frames(struct intel_dp *intel_dp,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user