diff options
author | Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com> | 2018-08-04 17:15:30 +0100 |
---|---|---|
committer | Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com> | 2018-08-08 19:08:17 +0100 |
commit | e81eb98e3fa8bfd558f134d9d9862eefbd5e6663 (patch) | |
tree | 1850cc3ff0a193cb1f8cff6ee9fc3b5eb90da6da /drivers/gpu/drm/vgem/vgem_drv.c | |
parent | 42da633809c1d76078c313a5bd35a9cb93a6f447 (diff) |
drm/vmwgfx: Use __drm_atomic_helper_plane_reset instead of copying the logic
A new helper function(__drm_atomic_helper_plane_reset) has been added
for linking a plane with its state and resetting the core
properties(alpha, rotation, etc.) to their default values.
Use that instead of duplicating the logic.
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
Signed-off-by: Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>
Acked-by: Sinclair Yeh <syeh@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180804161530.12275-11-alexandru-cosmin.gheorghe@arm.com
Diffstat (limited to 'drivers/gpu/drm/vgem/vgem_drv.c')
0 files changed, 0 insertions, 0 deletions