From: Matt Roper Date: Tue, 1 Apr 2014 22:22:38 +0000 (-0700) Subject: drm: Add drm_crtc_init_with_planes() (v2) X-Git-Tag: v3.15-rc1~51^2~19^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e13161af80c185ecd8dc4641d0f5df58f9e3e0af;p=pandora-kernel.git drm: Add drm_crtc_init_with_planes() (v2) Add a new drm_crtc_init_with_planes() to allow drivers to provide specific primary and cursor planes at CRTC initialization. The existing drm_crtc_init() interface remains to avoid driver churn in existing drivers; it will initialize the CRTC with a plane helper-created primary plane and no cursor plane. v2: - Move drm_crtc_init() to plane helper file so that nothing in the DRM core depends on helpers. [suggested by Daniel Vetter] - Keep cursor parameter to drm_crtc_init_with_planes() a void* until we actually add cursor support. [suggested by Daniel Vetter] Signed-off-by: Matt Roper Reviewed-by: Rob Clark --- Reading git-diff-tree failed