[Intel-gfx] [PATCH v2 2/2] drm/i915: Use intel_get_pipe_timings() and intel_mode_from_pipe_config() in intel_crtc_mode_get()
Chris Wilson
chris at chris-wilson.co.uk
Mon Sep 25 19:19:12 UTC 2017
Quoting ville.syrjala at linux.intel.com (2016-04-01 19:48:50)
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> Eliminate the duplicate code for pipe timing readout in
> intel_crtc_mode_get() by using the functions we use for the normal state
> readout.
>
> v2: Store dotclock in adjusted_mode instead of the final mode
>
> Cc: dri-devel at lists.freedesktop.org
> Cc: Rob Kramer <rob at solution-space.com>
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Fixes a pipe-state warn for me,
Tested-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris
More information about the Intel-gfx
mailing list