summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/qxl/qxl_drv.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2013-05-13 04:48:40 +0200
committerDave Airlie <airlied@redhat.com>2013-05-17 03:45:45 +0200
commitb2b4465d8bade681491e225fa6a5dc050820b004 (patch)
tree2d37399db7d314fd92687b3640b9a64b0317e487 /drivers/gpu/drm/qxl/qxl_drv.h
parentqxl: drop unused variable. (diff)
downloadlinux-b2b4465d8bade681491e225fa6a5dc050820b004.tar.xz
linux-b2b4465d8bade681491e225fa6a5dc050820b004.zip
drm/qxl: drop active_user_framebuffer as its unneeded
This was a bogus way to figure out what the active framebuffer was, just check if the underlying bo is the primary bo. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_drv.h')
-rw-r--r--drivers/gpu/drm/qxl/qxl_drv.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_drv.h b/drivers/gpu/drm/qxl/qxl_drv.h
index 5b7c130f4744..43d06ab28a21 100644
--- a/drivers/gpu/drm/qxl/qxl_drv.h
+++ b/drivers/gpu/drm/qxl/qxl_drv.h
@@ -255,12 +255,6 @@ struct qxl_device {
struct qxl_gem gem;
struct qxl_mode_info mode_info;
- /*
- * last created framebuffer with fb_create
- * only used by debugfs dumbppm
- */
- struct qxl_framebuffer *active_user_framebuffer;
-
struct fb_info *fbdev_info;
struct qxl_framebuffer *fbdev_qfb;
void *ram_physical;