drm/amdgpu: add video decode/encode cap tables and asic callbacks (v3)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jan 2021 23:48:12 +0000 (18:48 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 26 Feb 2021 22:23:49 +0000 (17:23 -0500)
commit3b246e8b6a97b7786f49433effea2aff39e58166
treea7418ce84fb23bac8f3f35d3697d9fb0164b8a6b
parent9269bf186897d60a8314f970673fd34669ea7747
drm/amdgpu: add video decode/encode cap tables and asic callbacks (v3)

For each asic family.  Will be used to populate tables
for the new INFO ioctl query.

v2: add max_pixels_per_frame to handle the portrait case
v3: fix copy paste typos

Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com> (v1)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/cik.c
drivers/gpu/drm/amd/amdgpu/nv.c
drivers/gpu/drm/amd/amdgpu/si.c
drivers/gpu/drm/amd/amdgpu/soc15.c
drivers/gpu/drm/amd/amdgpu/vi.c