radeon: make build again
parent
b7108445c9
commit
68fcb7770e
|
@ -44,7 +44,7 @@ int radeon_agpmode = 0;
|
|||
MODULE_PARM_DESC(no_wb, "Disable AGP writeback for scratch registers\n");
|
||||
module_param_named(no_wb, radeon_no_wb, int, 0444);
|
||||
|
||||
unsigned int radeon_modeset = 0;
|
||||
int radeon_modeset = 0;
|
||||
module_param_named(modeset, radeon_modeset, int, 0400);
|
||||
|
||||
MODULE_PARM_DESC(dynclks, "Disable/Enable dynamic clocks");
|
||||
|
|
|
@ -2793,15 +2793,6 @@ int radeon_driver_firstopen(struct drm_device *dev)
|
|||
|
||||
dev_priv->gart_info.table_size = RADEON_PCIGART_TABLE_SIZE;
|
||||
|
||||
if (!drm_core_check_feature(dev, DRIVER_MODESET))
|
||||
radeon_gem_mm_init(dev);
|
||||
|
||||
ret = drm_addmap(dev, dev_priv->fb_aper_offset,
|
||||
drm_get_resource_len(dev, 0), _DRM_FRAME_BUFFER,
|
||||
_DRM_WRITE_COMBINING, &map);
|
||||
if (ret != 0)
|
||||
return ret;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -313,7 +313,7 @@ static __inline__ int radeon_cs_relocate_packet0(struct drm_radeon_cs_parser *pa
|
|||
case R200_PP_TXOFFSET_1:
|
||||
case RADEON_PP_TXOFFSET_0:
|
||||
case RADEON_PP_TXOFFSET_1:
|
||||
ret = dev_priv->cs.relocate(parser. ib_chunk->kdata + offset_dw + 2, &offset);
|
||||
ret = dev_priv->cs.relocate(parser, ib_chunk->kdata + offset_dw + 2, &offset);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
|
|
@ -124,6 +124,7 @@ enum radeon_family {
|
|||
CHIP_RV350,
|
||||
CHIP_RV380,
|
||||
CHIP_R420,
|
||||
CHIP_R423,
|
||||
CHIP_RV410,
|
||||
CHIP_RS400,
|
||||
CHIP_RS480,
|
||||
|
|
Loading…
Reference in New Issue