]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/VCN2: put IB internal registers offset to structure
authorLeo Liu <leo.liu@amd.com>
Mon, 15 Apr 2019 13:39:06 +0000 (09:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:04 +0000 (14:18 -0500)
commit37aace0c40cae4c772073524846aeea5c31b06e9
treed25466fb2304c4597d2b66ee809232a08b8d6672
parent3a7fed4c524911da7ac09776837634c3d4be1d47
drm/amdgpu/VCN2: put IB internal registers offset to structure

So the ring functions can be shared with different VCN versions
with different internal registers offsets

Signed-off-by: Leo Liu <leo.liu@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_vcn.h
drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c