winsys/radeonsi: Set vce_encode = true when VCE found
authorEd Martin <edman007@edman007.com>
Wed, 1 Sep 2021 14:39:08 +0000 (10:39 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 7 Sep 2021 15:32:21 +0000 (15:32 +0000)
commit09aeb59b54d8290b02678c9cee588f73377c4762
tree4b008ffab6e4fc255d4b3abe4236083308830ce4
parent6e6b432df2fdbc1c3e8d325627d2d85772aa60ad
winsys/radeonsi: Set vce_encode = true when VCE found

Allows VA-API encoding on AMD PITCAIRN

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5305
Fixes: 43c04ab2b43 ("radeonsi: separate video hw info based on HW engine individually")

Reviewed-by: James Zhu <James.Zhu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12679>
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c