drm: set/clear is_master when master changed
authorJonas Bonn <jonas@southpole.se>
Thu, 16 Apr 2009 07:00:02 +0000 (09:00 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 20 Apr 2009 00:04:28 +0000 (10:04 +1000)
commit6b0084266c1d4917ad9259759a1e7bd623cb3888
tree8047608ee68c2f9d9a6d04ccf968308918877310
parent77d26dc9b9805f322f5a1f6e559b18ad66205bd9
drm: set/clear is_master when master changed

The variable is_master is being used to track the drm_file that is currently
master, so its value needs to be updated accordingly when the master is
changed.

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