summaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/radeon_drv.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@starflyer.(none)>2005-11-23 12:12:59 +0100
committerDave Airlie <airlied@linux.ie>2005-11-23 12:12:59 +0100
commit7655f493b74f3048c02458bc32cd0b144f7b394f (patch)
tree7fca7d65df8a2a05caf9aae9a54a6760a75131f4 /drivers/char/drm/radeon_drv.h
parentdrm: add __GFP_COMP to the drm_alloc_pages (diff)
downloadlinux-7655f493b74f3048c02458bc32cd0b144f7b394f.tar.xz
linux-7655f493b74f3048c02458bc32cd0b144f7b394f.zip
drm: move is_pci to the end of the structure
We memset the structure across opens except for the flags. The correct fix is more intrusive but this should fix a problem with bad iounmaps seen on AGP radeons acting like PCI ones. Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/radeon_drv.h')
-rw-r--r--drivers/char/drm/radeon_drv.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/drm/radeon_drv.h b/drivers/char/drm/radeon_drv.h
index 120ee5a8ebcc..7bda7e33d2bd 100644
--- a/drivers/char/drm/radeon_drv.h
+++ b/drivers/char/drm/radeon_drv.h
@@ -214,8 +214,6 @@ typedef struct drm_radeon_private {
int microcode_version;
- int is_pci;
-
struct {
u32 boxes;
int freelist_timeouts;
@@ -275,6 +273,7 @@ typedef struct drm_radeon_private {
/* starting from here on, data is preserved accross an open */
uint32_t flags; /* see radeon_chip_flags */
+ int is_pci;
} drm_radeon_private_t;
typedef struct drm_radeon_buf_priv {