drm/radeon/kms: fix oops when set_base is call with no FB
authorJerome Glisse <jglisse@redhat.com>
Tue, 17 Nov 2009 22:08:55 +0000 (14:08 -0800)
committerDave Airlie <airlied@redhat.com>
Wed, 2 Dec 2009 01:37:08 +0000 (11:37 +1000)
Just do nothing if crct_set_base() is called with no FB.

The oops happens when the user switches between X & vt or in some case
when changing mode.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found