aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_drv.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_drv.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c
index fef207881f4..1e3b2557a51 100644
--- a/drivers/gpu/drm/radeon/radeon_drv.c
+++ b/drivers/gpu/drm/radeon/radeon_drv.c
@@ -41,17 +41,6 @@ int radeon_no_wb;
41MODULE_PARM_DESC(no_wb, "Disable AGP writeback for scratch registers"); 41MODULE_PARM_DESC(no_wb, "Disable AGP writeback for scratch registers");
42module_param_named(no_wb, radeon_no_wb, int, 0444); 42module_param_named(no_wb, radeon_no_wb, int, 0444);
43 43
44static int dri_library_name(struct drm_device *dev, char *buf)
45{
46 drm_radeon_private_t *dev_priv = dev->dev_private;
47 int family = dev_priv->flags & RADEON_FAMILY_MASK;
48
49 return snprintf(buf, PAGE_SIZE, "%s\n",
50 (family < CHIP_R200) ? "radeon" :
51 ((family < CHIP_R300) ? "r200" :
52 "r300"));
53}
54
55static int radeon_suspend(struct drm_device *dev, pm_message_t state) 44static int radeon_suspend(struct drm_device *dev, pm_message_t state)
56{ 45{
57 drm_radeon_private_t *dev_priv = dev->dev_private; 46 drm_radeon_private_t *dev_priv = dev->dev_private;
@@ -95,7 +84,6 @@ static struct drm_driver driver = {
95 .get_vblank_counter = radeon_get_vblank_counter, 84 .get_vblank_counter = radeon_get_vblank_counter,
96 .enable_vblank = radeon_enable_vblank, 85 .enable_vblank = radeon_enable_vblank,
97 .disable_vblank = radeon_disable_vblank, 86 .disable_vblank = radeon_disable_vblank,
98 .dri_library_name = dri_library_name,
99 .master_create = radeon_master_create, 87 .master_create = radeon_master_create,
100 .master_destroy = radeon_master_destroy, 88 .master_destroy = radeon_master_destroy,
101 .irq_preinstall = radeon_driver_irq_preinstall, 89 .irq_preinstall = radeon_driver_irq_preinstall,