drm/i915: Pull intel_pipe_set_base() out of the crtc_mode_set() functions
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 17 Oct 2012 11:43:18 +0000 (14:43 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 25 Oct 2012 16:57:43 +0000 (19:57 +0300)
commitdc10516e22b403d249b761927d4fee9793f968b8
treec46fec933222cd4627b49f49deccdcd8ae389c1d
parente4131051bdae303c4638d003075fcd0bb48e6235
drm/i915: Pull intel_pipe_set_base() out of the crtc_mode_set() functions

intel_pipe_set_base() (un)pins the buffers, so it can't be called from
the atomic modeset paths. Pull the intel_pipe_set_base() and watermark
modifications out of i9xx_crtc_mode_set() and ironlake_crtc_mode_set()
into intel_crtc_mode_set(), so that the former two can be used from the
atomic modeset paths.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/intel_display.c