• Thomas Hellstrom's avatar
    drm/vmwgfx: Kill unneeded legacy security features · 9bbfda54
    Thomas Hellstrom authored
    At one point, the GPU command verifier and user-space handle manager
    couldn't properly protect GPU clients from accessing each other's data.
    Instead there was an elaborate mechanism to make sure only the active
    master's primary clients could render. The other clients were either
    put to sleep or even killed (if the master had exited). VRAM was
    evicted on master switch. With the advent of render-node functionality,
    we relaxed the VRAM eviction, but the other mechanisms stayed in place.
    
    Now that the GPU command verifier and ttm object manager properly
    isolate primary clients from different master realms we can remove the
    master switch related code and drop those legacy features.
    Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
    Reviewed-by: default avatarDeepak Rawat <drawat@vmware.com>
    Acked-by: default avatarEmil Velikov <emil.velikov@collabora.com>
    9bbfda54
ttm_lock.c 4.72 KB