drm/radeon/kms: move around new init path code to avoid posting at init
authorDave Airlie <airlied@linux.ie>
Fri, 18 Sep 2009 05:19:37 +0000 (15:19 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 18 Sep 2009 06:17:42 +0000 (16:17 +1000)
commitfc30b8efbe1b271eb64e0d4f6cb2a91bb57ee5f3
tree87e0fb824b19667c2570bc99bc9ca918f4a25f6e
parentbc1a631e5104317cc8b4ef7d14adc597f2844003
drm/radeon/kms: move around new init path code to avoid posting at init

We really don't want to post the card at init, it takes a relatively
long time and isn't required, so split the resume path into
a startup path called by both init/resume and separate resume
entry point to do posting.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r420.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/rv770.c