amdgpu/nv.c - Optimize code for video codec support structure
authorVeerabadhran Gopalakrishnan <veerabadhran.gopalakrishnan@amd.com>
Tue, 13 Jul 2021 17:51:43 +0000 (23:21 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 16 Jul 2021 17:46:09 +0000 (13:46 -0400)
commit9075096b09e5905ccaa7f7be548593a6530e097f
tree760ac1543467366a56604fe4ca6dad7b9e43da79
parent554398174d98364ea91a7a9aa6866d65ea72d0da
amdgpu/nv.c - Optimize code for video codec support structure

Optimized the code for codec info structure initialization

Signed-off-by: Veerabadhran Gopalakrishnan <veerabadhran.gopalakrishnan@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/nv.c
drivers/gpu/drm/amd/amdgpu/soc15.c