linux/drivers/gpu/drm/vmwgfx
Arjan van de Ven e08e96de98 drm: Make the per-driver file_operations struct const
From fdf1fdebaa00f81de18c227f32f8074c8b352d50 Mon Sep 17 00:00:00 2001
From: Arjan van de Ven <arjan@linux.intel.com>
Date: Sun, 30 Oct 2011 19:06:07 -0700
Subject: [PATCH] drm: Make the per-driver file_operations struct const

The DRM layer keeps a copy of struct file_operations inside its
big driver struct... which prevents it from being consistent and static.
For consistency (and the general security objective of having such things
static), it's desirable to get this fixed.

This patch splits out the file_operations field to its own struct,
which is then "static const", and just stick a pointer to this into
the driver struct, making it more consistent with how the rest of the
kernel does this.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-11-11 11:14:47 +00:00
..
Kconfig vmwgfx: Take the driver out of staging 2011-10-11 13:06:36 +01:00
Makefile vmwgfx: Add screen object support 2011-10-05 10:17:14 +01:00
svga3d_reg.h vmwgfx: Update register files to latest from vmware-sdk 2011-10-05 10:17:08 +01:00
svga_escape.h vmwgfx: Update register files to latest from vmware-sdk 2011-10-05 10:17:08 +01:00
svga_overlay.h vmwgfx: Update register files to latest from vmware-sdk 2011-10-05 10:17:08 +01:00
svga_reg.h vmwgfx: Update register files to latest from vmware-sdk 2011-10-05 10:17:08 +01:00
svga_types.h
vmwgfx_buffer.c vmwgfx: Handle device surface memory limit 2011-10-05 10:17:31 +01:00
vmwgfx_dmabuf.c vmwgfx: Fix up query processing 2011-10-05 10:17:22 +01:00
vmwgfx_drv.c drm: Make the per-driver file_operations struct const 2011-11-11 11:14:47 +00:00
vmwgfx_drv.h vmwgfx: Reinstate the update_layout ioctl 2011-11-02 08:30:31 +00:00
vmwgfx_execbuf.c Revert "drm/ttm: add a way to bo_wait for either the last read or last write" 2011-10-27 18:28:37 +02:00
vmwgfx_fb.c gpu: Add export.h as required to drivers/gpu files. 2011-10-31 19:32:03 -04:00
vmwgfx_fence.c vmwgfx: memory leaks caused by double allocation 2011-10-18 10:41:31 +01:00
vmwgfx_fence.h vmwgfx: Add fence events 2011-10-10 15:46:55 +01:00
vmwgfx_fifo.c vmwgfx: Add fence events 2011-10-10 15:46:55 +01:00
vmwgfx_gmr.c vmwgfx: Implement GMR2 2011-09-01 09:39:25 +01:00
vmwgfx_gmrid_manager.c vmwgfx: Restrict number of GMR pages to device limit 2011-09-01 09:38:07 +01:00
vmwgfx_ioctl.c vmwgfx: return -EFAULT instead of number of bytes remaining 2011-10-18 10:41:11 +01:00
vmwgfx_irq.c vmwgfx: Add fence events 2011-10-10 15:46:55 +01:00
vmwgfx_kms.c vmwgfx: Snoop DMA transfers with non-covering sizes 2011-11-07 13:16:55 +00:00
vmwgfx_kms.h vmwgfx: Infrastructure for explicit placement 2011-11-07 13:15:18 +00:00
vmwgfx_ldu.c vmwgfx: Infrastructure for explicit placement 2011-11-07 13:15:18 +00:00
vmwgfx_marker.c vmwgfx: Fix confusion caused by using "fence" in various places 2011-09-06 11:48:40 +01:00
vmwgfx_overlay.c vmwgfx: minor dmabuf utilities cleanup 2011-10-05 10:17:20 +01:00
vmwgfx_reg.h drm/vmwgfx: Add DRM driver for VMware Virtual GPU 2009-12-15 08:38:43 +10:00
vmwgfx_resource.c vmwgfx: memory leaks caused by double allocation 2011-10-18 10:41:31 +01:00
vmwgfx_scrn.c vmwgfx: Infrastructure for explicit placement 2011-11-07 13:15:18 +00:00
vmwgfx_ttm_glue.c vmwgfx: Remove the possibility to map the fifo from user-space 2011-09-06 11:48:34 +01:00