From: Daniel Vetter Date: Thu, 24 Apr 2014 21:55:04 +0000 (+0200) Subject: drm/i915: Inline set_base into crtc_mode_set X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~38^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8f7a0dbd7bfb9719d281407587f78c84f0411e6;p=pandora-kernel.git drm/i915: Inline set_base into crtc_mode_set A lot of the code in set_base is uncessary when the crtc is off, so we can get rid of it all. Also, we don't need to call the fbc/psr update functions since the crtc enable/disable hooks do that already. The only things we really need are: - Pin the new framebuffer and potentially unpin the old framebuffer (if the crtc has been on and we only change the configuration). - Update the plane registers. The first step will move out of platform code with the very next patch. v2: Don't forget about haswell ... Reviewed-by: Akash Goel Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed