]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vma: Add a driver_private member to vma_node.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 10 Jun 2021 07:01:51 +0000 (09:01 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 11 Jun 2021 08:53:18 +0000 (10:53 +0200)
commit82c8eca512aa64732931f1d70f79bab6b14b4163
tree54a3f7de2813eb03ab94bbeaa2ccf7efa0f56cb2
parentc6274388821e852c8df54b0097e11b92148ad083
drm/vma: Add a driver_private member to vma_node.

This allows drivers to distinguish between different types of vma_node's.
The readonly flag was unused and is thus removed.

This is a temporary solution, until i915 is converted completely to
use ttm for bo's.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Acked-by: Daniel Vetter <daniel@ffwll.ch> #irc
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210610070152.572423-4-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/drm_gem.c
include/drm/drm_vma_manager.h