mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
drm/i915: s/intel_get_linetime_us()/skl_wm_linetime_us()/
Rename intel_get_linetime_us() to skl_wm_linetime_us() to better reflect that it's not meant to be used for anything apart from the watermark calculations. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250919180838.10498-4-ville.syrjala@linux.intel.com Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
This commit is contained in:
parent
09f21bee91
commit
32fdf8f418
|
|
@ -1636,9 +1636,8 @@ skl_wm_method2(u32 pixel_rate, u32 pipe_htotal, u32 latency,
|
|||
return ret;
|
||||
}
|
||||
|
||||
static int
|
||||
intel_get_linetime_us(const struct intel_crtc_state *crtc_state,
|
||||
int pixel_rate)
|
||||
static int skl_wm_linetime_us(const struct intel_crtc_state *crtc_state,
|
||||
int pixel_rate)
|
||||
{
|
||||
return DIV_ROUND_UP(crtc_state->hw.pipe_mode.crtc_htotal * 1000,
|
||||
pixel_rate);
|
||||
|
|
@ -1729,7 +1728,7 @@ skl_compute_wm_params(const struct intel_crtc_state *crtc_state,
|
|||
wp->y_tile_minimum = mul_u32_fixed16(wp->y_min_scanlines,
|
||||
wp->plane_blocks_per_line);
|
||||
|
||||
wp->linetime_us = intel_get_linetime_us(crtc_state, plane_pixel_rate);
|
||||
wp->linetime_us = skl_wm_linetime_us(crtc_state, plane_pixel_rate);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user