diff options
author | Thomas Hellstrom <[email protected]> | 2015-12-02 09:24:46 -0800 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2015-12-04 12:28:14 +1000 |
commit | a0af2e538c80f3e47f1d6ddf120a153ad909e8ad (patch) | |
tree | 056678eb2ff49c0d8e489f34995d7089e5b134bb /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | f46e699cb6f44e79f3df33966c239ab1f4da5778 (diff) |
drm: Fix an unwanted master inheritance v2
A client calling drmSetMaster() using a file descriptor that was opened
when another client was master would inherit the latter client's master
object and all its authenticated clients.
This is unwanted behaviour, and when this happens, instead allocate a
brand new master object for the client calling drmSetMaster().
Fixes a BUG() throw in vmw_master_set().
Cc: <[email protected]>
Signed-off-by: Thomas Hellstrom <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions