[PATCH 6/8] drm/vmwgfx: Refactor resource management