radeon/uvd: fix video format reporting
authorGrigori Goronzy <greg@chown.ath.cx>
Wed, 9 Oct 2013 00:23:47 +0000 (02:23 +0200)
committerChristian König <christian.koenig@amd.com>
Wed, 9 Oct 2013 11:02:40 +0000 (13:02 +0200)
commit0bb05484bff3ff4ec791c463ed1340572da4333c
treefe030f7afda28757e720bbb96f6fbddedf99dd51
parentc207fa6c180bdd121a80e155465160086b87e734
radeon/uvd: fix video format reporting

UVD can only support NV12 in the case of hardware decoding, but we
can still use all other formats for software decoding. Use the UNKNOWN
profile to signal that we're not interesting in hardware decoding.

v2: use profile instead of entrypoint

Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeon/radeon_uvd.c