summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_connectors.c
diff options
context:
space:
mode:
authorPrathyush <prathyush.k@samsung.com>2012-04-14 15:52:13 +0400
committerDave Airlie <airlied@redhat.com>2012-04-19 17:40:41 +0400
commit4e47e02d1ac47b6eb591b2a632a6c059ce3e5002 (patch)
treee9f67b84304f3fbe4dc54c16251ea21646c0db76 /drivers/gpu/drm/radeon/radeon_connectors.c
parent5799d9e2eab20ef694fb92a7636f451e1b0e456c (diff)
downloadlinux-4e47e02d1ac47b6eb591b2a632a6c059ce3e5002.tar.xz
drm: Releasing FBs before releasing GEM objects during drm_release
During DRM release, all the FBs and gem objects are released. If a gem object is being used as a FB and set to a crtc, it must not be freed before releasing the framebuffer first. If FBs are released first, the crtc using the FB is disabled first so now the GEM object can be freed safely. The CRTC will be enabled again when the driver restores fbdev mode. Signed-off-by: Prathyush K <prathyush.k@samsung.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_connectors.c')
0 files changed, 0 insertions, 0 deletions