diff options
author | Maaz Mombasawala <maaz.mombasawala@broadcom.com> | 2024-01-26 15:08:01 -0500 |
---|---|---|
committer | Zack Rusin <zack.rusin@broadcom.com> | 2024-01-30 14:18:18 -0500 |
commit | 9840d28f25143da23e0e7ecb1a3b8109987406ee (patch) | |
tree | a4ba1d8222edef91649278b9b675eac746909592 /include/uapi/drm | |
parent | 935f795045a6f9b13d28d46ebdad04bfea8750dd (diff) |
drm/vmwgfx: Make all surfaces shareable
There is no real need to have a separate pool for shareable and
non-shareable surfaces. Make all surfaces shareable, regardless of whether
the drm_vmw_surface_flag_shareable has been specified.
Signed-off-by: Maaz Mombasawala <maaz.mombasawala@broadcom.com>
Reviewed-by: Martin Krastev <martin.krastev@broadcom.com>
Signed-off-by: Zack Rusin <zack.rusin@broadcom.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240126200804.732454-3-zack.rusin@broadcom.com
Diffstat (limited to 'include/uapi/drm')
-rw-r--r-- | include/uapi/drm/vmwgfx_drm.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/uapi/drm/vmwgfx_drm.h b/include/uapi/drm/vmwgfx_drm.h index 26549c86a91f..26d96fecb902 100644 --- a/include/uapi/drm/vmwgfx_drm.h +++ b/include/uapi/drm/vmwgfx_drm.h @@ -1,6 +1,6 @@ /************************************************************************** * - * Copyright © 2009-2022 VMware, Inc., Palo Alto, CA., USA + * Copyright © 2009-2023 VMware, Inc., Palo Alto, CA., USA * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a @@ -902,7 +902,8 @@ struct drm_vmw_shader_arg { /** * enum drm_vmw_surface_flags * - * @drm_vmw_surface_flag_shareable: Whether the surface is shareable + * @drm_vmw_surface_flag_shareable: Deprecated - all userspace surfaces are + * shareable. * @drm_vmw_surface_flag_scanout: Whether the surface is a scanout * surface. * @drm_vmw_surface_flag_create_buffer: Create a backup buffer if none is |