From: Maarten Lankhorst Date: Mon, 15 Jun 2015 10:33:46 +0000 (+0200) Subject: drm/i915: clean up atomic plane check functions, v2. X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~36^2~260 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=061e4b8d650afd16ebe447d454431c717265b89f;p=pandora-kernel.git drm/i915: clean up atomic plane check functions, v2. By passing crtc_state to the check_plane functions a lot of duplicated code can be removed. There are still some transitional helper calls, they will be removed later. Changes since v1: - Revert state->visible changes. - Use plane->state->crtc instead of plane->crtc. - Use drm_atomic_get_existing_crtc_state. Signed-off-by: Maarten Lankhorst Reviewed-by: Matt Roper Tested-by(IVB): Matt Roper Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed