From: Daniel Vetter Date: Thu, 24 Apr 2014 21:55:05 +0000 (+0200) Subject: drm/i915: Move fb pinning into __intel_set_mode X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~38^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c10794fe1a1afdb00821fc304fe4287f10d5866;p=pandora-kernel.git drm/i915: Move fb pinning into __intel_set_mode Our two ->crtc_mode_set callbacks really don't care whether the fb is pinned and set up already or not - all the state computation and handling which originally looked at the framebuffer is already using the indirection through the pipe configuration. Eventually we want to move this up a bit more, but as long as the crtc mode_set callback still exists (and as long as we don't need to pin an entire pile of planes due to atomic modesets) there's not much point in it. So I'll let this be for now. v2: Don't forget about haswell ... Reviewed-by: Akash Goel Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed