drm: check for minor master before allowing drop master.
authorDave Airlie <airlied@redhat.com>
Sun, 19 Apr 2009 23:32:50 +0000 (09:32 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 20 Apr 2009 00:04:28 +0000 (10:04 +1000)
commit07f1c7a7f6736d9ec2eba57d209c5f48888d841e
tree0f75684fa43612f4f91d7aaeb91273f91097418f
parent6b0084266c1d4917ad9259759a1e7bd623cb3888
drm: check for minor master before allowing drop 

When fast user switching a lot eventually we get to the point,
where we were checking for the wrong thing in this function.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_stub.c