]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/radeon/kms: move modeset init outside of GPU init
authorJerome Glisse <jglisse@redhat.com>
Thu, 10 Sep 2009 19:46:48 +0000 (21:46 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 11 Sep 2009 05:53:59 +0000 (15:53 +1000)
commit6cf8a3f58806f12b975a89cfd7edf01566ff80a0
tree5c940fa2e6651b7157744758cf008fb2d578db83
parent923f6848e1686059ef8d272d1fca4d3577911a41
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>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_kms.c