Skip to content
Commit 7c1c2871 authored by Dave Airlie's avatar Dave Airlie Committed by Dave Airlie
Browse files

drm: move to kref per-master structures.



This is step one towards having multiple masters sharing a drm
device in order to get fast-user-switching to work.

It splits out the information associated with the drm master
into a separate kref counted structure, and allocates this when
a master opens the device node. It also allows the current master
to abdicate (say while VT switched), and a new master to take over
the hardware.

It moves the Intel and radeon drivers to using the sarea from
within the new master structures.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent e7f7ab45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment