From: Daniel Vetter Date: Tue, 11 Dec 2012 00:07:12 +0000 (+0100) Subject: drm: refcounting for crtc framebuffers X-Git-Tag: v3.9-rc1~83^2~38^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0d1232589df5575c5971224ac4cb30e7e525884;p=pandora-kernel.git drm: refcounting for crtc framebuffers With the prep patch to encapsulate ->set_crtc calls, this is now rather easy. Hooray for inconsistent semantics between ->set_crtc and ->page_flip, where the driver callback is supposed to update the fb pointer, and ->update_plane, where the drm core does the same. Also, since the drm core functions check crtc->fb before calling into driver callbacks, we can't really reduce the critical sections protected by the mode_config locks. Reviewed-by: Rob Clark Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed