From: Rob Clark Date: Fri, 12 Oct 2012 23:58:02 +0000 (-0500) Subject: drm/omap: fix issue w/ fb attached to multiple CRTCs X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~1083 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b74af83dd289270e1486cf5d9f0e3e894c76bd30;p=pandora-kernel.git drm/omap: fix issue w/ fb attached to multiple CRTCs When the fb is detached from one CRTC/plane, paddr was set back to zero. But really we don't want to do this because the fb could still be attached to other CRTC/plane(s). This originally worked like this to catch cases of freeing a pinned fb (but with the refcnt'ing this should no longer be needed). Also, there is checking in the GEM code for freeing a pinned GEM object, so this extra level of checking is redundant. Signed-off-by: Rob Clark Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed