aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2009-09-10 15:46:48 -0400
committerDave Airlie <airlied@redhat.com>2009-09-11 01:53:59 -0400
commit6cf8a3f58806f12b975a89cfd7edf01566ff80a0 (patch)
tree5c940fa2e6651b7157744758cf008fb2d578db83 /drivers/gpu/drm/radeon/radeon.h
parent923f6848e1686059ef8d272d1fca4d3577911a41 (diff)
drm/radeon/kms: move modeset init outside of GPU init
We are splitting GPU & modeset init so that it's easier to abord only remaining GPU init when somethings fails. We want to always provide enough funcionalities to get fbcon and a shadowfb X working. Only acceptable error during initialization are memory allocation failure or io mapping failure. Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index d6ff4e01206..23ede0e4783 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -933,6 +933,10 @@ static inline void radeon_ring_write(struct radeon_device *rdev, uint32_t v)
933#define radeon_clear_surface_reg(rdev, r) ((rdev)->asic->clear_surface_reg((rdev), (r))) 933#define radeon_clear_surface_reg(rdev, r) ((rdev)->asic->clear_surface_reg((rdev), (r)))
934#define radeon_bandwidth_update(rdev) (rdev)->asic->bandwidth_update((rdev)) 934#define radeon_bandwidth_update(rdev) (rdev)->asic->bandwidth_update((rdev))
935 935
936/* Common functions */
937int radeon_modeset_init(struct radeon_device *rdev);
938void radeon_modeset_fini(struct radeon_device *rdev);
939
936/* r100,rv100,rs100,rv200,rs200,r200,rv250,rs300,rv280 */ 940/* r100,rv100,rs100,rv200,rs200,r200,rv250,rs300,rv280 */
937void r100_cp_disable(struct radeon_device *rdev); 941void r100_cp_disable(struct radeon_device *rdev);
938void r100_pci_gart_tlb_flush(struct radeon_device *rdev); 942void r100_pci_gart_tlb_flush(struct radeon_device *rdev);