radeon/vcn: delay dec->ctx and dec->dpb allocation
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Wed, 28 Oct 2020 15:52:47 +0000 (16:52 +0100)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Wed, 4 Nov 2020 08:22:18 +0000 (09:22 +0100)
commitebbf40fa263c455b3f2da11b2fece83c4342498a
tree52f6aed84ef0df33e3886feab964d8001fb94db5
parentcf324df6eae0fc42f02c541050737d294122087b
radeon/vcn: delay dec->ctx and dec->dpb allocation

This will allow to allocate them as encrypted if needed.

Reviewed-by: Boyuan Zhang <boyuan.zhang@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7006>
src/gallium/drivers/radeon/radeon_vcn_dec.c