drm/radeon/kms: Forbid creation of framebuffer with no valid GEM object
authorJerome Glisse <jglisse@redhat.com>
Sun, 17 Jan 2010 20:21:41 +0000 (21:21 +0100)
committerDave Airlie <airlied@linux.ie>
Wed, 20 Jan 2010 22:46:27 +0000 (08:46 +1000)
This will avoid oops if at later point the fb is use. Trying to create
a framebuffer with no valid GEM object is bogus and should be forbidden
as this patch does.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>

No differences found