diff options
author | Dave Airlie <airlied@redhat.com> | 2013-12-12 10:40:19 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-12-12 10:40:19 +1000 |
commit | 5c015db7d9d2eaecf5223eaad7a05c0e8e180288 (patch) | |
tree | 133eac1a89d091baee284967448a16bb1e5ce2fe /drivers/gpu/drm/armada/armada_drv.c | |
parent | 25945b66903dade5e1297742b4ed0746a77eb5c5 (diff) | |
parent | 5cd5268806435b6476184430b2806db988c903f0 (diff) | |
download | op-kernel-dev-5c015db7d9d2eaecf5223eaad7a05c0e8e180288.zip op-kernel-dev-5c015db7d9d2eaecf5223eaad7a05c0e8e180288.tar.gz |
Merge branch 'drm-tda998x-3.12-fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-cubox into drm-fixes
These four patches fix a few issues discovered since the initial merge,
which have been reviewed by Rob Clark and Thierry Reding.
* 'drm-tda998x-3.12-fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-cubox:
DRM: Armada: prime refcounting bug fix
DRM: Armada: fix printing of phys_addr_t/dma_addr_t
DRM: Armada: destroy framebuffer after helper
DRM: Armada: implement lastclose() for fbhelper
Diffstat (limited to 'drivers/gpu/drm/armada/armada_drv.c')
-rw-r--r-- | drivers/gpu/drm/armada/armada_drv.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/drm/armada/armada_drv.c b/drivers/gpu/drm/armada/armada_drv.c index 4f2b283..62d0ff3 100644 --- a/drivers/gpu/drm/armada/armada_drv.c +++ b/drivers/gpu/drm/armada/armada_drv.c @@ -321,6 +321,11 @@ static struct drm_ioctl_desc armada_ioctls[] = { DRM_UNLOCKED), }; +static void armada_drm_lastclose(struct drm_device *dev) +{ + armada_fbdev_lastclose(dev); +} + static const struct file_operations armada_drm_fops = { .owner = THIS_MODULE, .llseek = no_llseek, @@ -337,7 +342,7 @@ static struct drm_driver armada_drm_driver = { .open = NULL, .preclose = NULL, .postclose = NULL, - .lastclose = NULL, + .lastclose = armada_drm_lastclose, .unload = armada_drm_unload, .get_vblank_counter = drm_vblank_count, .enable_vblank = armada_drm_enable_vblank, |