From: Damien Lespiau Date: Wed, 25 Sep 2013 15:45:30 +0000 (+0100) Subject: drm: Factor out common CRTC viewport checking code X-Git-Tag: v3.13-rc1~76^2~80^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c11e928360777be8eaf5023032e9b6c62eb2c43e;p=pandora-kernel.git drm: Factor out common CRTC viewport checking code Both setcrtc and page_flip are checking that the framebuffer is big enough for the defined crtc viewport (x, y, hdisplay, vdisplay). Factor that code out in a single function. Reviewed-by: Ville Syrjälä Signed-off-by: Damien Lespiau Acked-by: Dave Airlie Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed