diff options
author | Deepak Rawat <drawat@vmware.com> | 2018-08-08 22:39:31 +0300 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2018-12-05 12:00:40 +0300 |
commit | 43d1e627144ae1bf8de778a583bdf77c2e521cb3 (patch) | |
tree | 94bcf80280db4a8be6ceb74f6cb9683b68b6f364 /drivers/gpu/drm/vmwgfx/vmwgfx_kms.h | |
parent | 8bb6af5b0cbec157e1481d66d562f4752d28d361 (diff) | |
download | linux-43d1e627144ae1bf8de778a583bdf77c2e521cb3.tar.xz |
drm/vmwgfx: Implement SOU plane update for surface backed fb
Using the new interface implement SOU plane update for surface backed
fb.
v2: Rebase to new resource validation.
Signed-off-by: Deepak Rawat <drawat@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_kms.h')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_kms.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.h b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.h index 73fc51f43400..3e8b8b3d33aa 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.h +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.h @@ -130,6 +130,17 @@ struct vmw_du_update_plane { }; /** + * struct vmw_du_update_plane_surface - closure structure for surface + * @base: base closure structure. + * @cmd_start: FIFO command start address (used by SOU only). + */ +struct vmw_du_update_plane_surface { + struct vmw_du_update_plane base; + /* This member is to handle special case SOU surface update */ + void *cmd_start; +}; + +/** * struct vmw_du_update_plane_buffer - Closure structure for buffer object * @base: Base closure structure. * @fb_left: x1 for fb damage bounding box. |