diff options
author | 2009-09-14 18:29:49 +0200 | |
---|---|---|
committer | 2009-09-15 08:53:14 +1000 | |
commit | 4aac047323e3082d0866b8ad3784236632105af4 (patch) | |
tree | af4c118e42b9ea55c961c4f5bbb02998dc2cc4fe /lib/spinlock_debug.c | |
parent | drm/radeon/kms: cleanup - remove radeon_share.h (diff) | |
download | linux-rng-4aac047323e3082d0866b8ad3784236632105af4.tar.xz linux-rng-4aac047323e3082d0866b8ad3784236632105af4.zip |
drm/radeon/kms: clear confusion in GART init/deinit path
GART static one time initialization was mixed up with GART
enabling/disabling which could happen several time for instance
during suspend/resume cycles. This patch splits all GART
handling into 4 differents function. gart_init is for one
time initialization, gart_deinit is called upon module unload
to free resources allocated by gart_init, gart_enable enable
the GART and is intented to be call after first initialization
and at each resume cycle or reset cycle. Finaly gart_disable
stop the GART and is intended to be call at suspend time or
when unloading the module.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions