drm/radeon/kms: add sanity check to wptr.
authorDave Airlie <airlied@redhat.com>
Wed, 31 Mar 2010 03:38:56 +0000 (13:38 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 1 Apr 2010 02:50:19 +0000 (12:50 +1000)
If we resume in a bad way, we'll get 0xffffffff in wptr, and then
oops with no console. This just adds a sanity check so that we can
avoid the oops and hopefully get more details out of people's systems.

Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found