drm/amdgpu: simplify amdgpu_uvd_send_msg
authorChristian König <christian.koenig@amd.com>
Mon, 16 Jan 2023 19:49:23 +0000 (20:49 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Mar 2023 19:21:57 +0000 (14:21 -0500)
commitb059cba51979b3431b75e0c6f18e9f75e427537c
tree5cfe1d0e5d02088b3c293ca272f84e4b01f56750
parenta32d7d6b198b23b7d8f40efb9efe42779ea7b011
drm/amdgpu: simplify amdgpu_uvd_send_msg

We only need one offset and not an array of it.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c