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>

authored by Dave Airlie and committed by Dave Airlie 7655f493 c41f4712

+1 -2
+1 -2
drivers/char/drm/radeon_drv.h
··· 214 215 int microcode_version; 216 217 - int is_pci; 218 - 219 struct { 220 u32 boxes; 221 int freelist_timeouts; ··· 273 274 /* starting from here on, data is preserved accross an open */ 275 uint32_t flags; /* see radeon_chip_flags */ 276 } drm_radeon_private_t; 277 278 typedef struct drm_radeon_buf_priv {
··· 214 215 int microcode_version; 216 217 struct { 218 u32 boxes; 219 int freelist_timeouts; ··· 275 276 /* starting from here on, data is preserved accross an open */ 277 uint32_t flags; /* see radeon_chip_flags */ 278 + int is_pci; 279 } drm_radeon_private_t; 280 281 typedef struct drm_radeon_buf_priv {