OSDN Git Service

winsys/drm: enable intra_surface_copy if HW_CAP2 is supported
authorCharmaine Lee <charmainel@vmware.com>
Fri, 27 Oct 2017 22:41:37 +0000 (15:41 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000 (13:07 -0600)
commitb5827db2eaf739b4fa620326a92561ee096df5f7
tree408cd9903a27af15ee98ddf4d83b9edb0312870b
parent7448bb0089530877d484c1aa96ec6155ffde0fcc
winsys/drm: enable intra_surface_copy if HW_CAP2 is supported

With drm version 2_15, we can inquire for support of HW_CAP2.
If it is supported, we can enable intra_surface_copy support.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
src/gallium/winsys/svga/drm/vmw_screen_ioctl.c