From: Matt Roper Date: Tue, 10 Jun 2014 15:28:08 +0000 (-0700) Subject: drm: Refactor framebuffer creation to allow internal use (v2) X-Git-Tag: omap-for-v3.17/fixes-against-rc2~125^2~63^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c394c2b08e247c32ef292b75fd8b34312465f8ae;p=pandora-kernel.git drm: Refactor framebuffer creation to allow internal use (v2) Refactor DRM framebuffer creation into a new function that returns a struct drm_framebuffer directly. The upcoming universal cursor support will want to create framebuffers internally to wrap cursor buffers, so we want to be able to share that framebuffer creation with the drm_mode_addfb2 ioctl handler. v2: Take struct drm_mode_fb_cmd2 parameter directly rather than void* Reviewed-by: Daniel Vetter Signed-off-by: Matt Roper Reviewed-by: Pallavi G Acked-by: Dave Airlie Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed