]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add hdp version 4 functions
authorLikun Gao <Likun.Gao@amd.com>
Mon, 28 Dec 2020 08:42:40 +0000 (16:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Jan 2021 16:32:48 +0000 (11:32 -0500)
commit19120151b632ddb105ca7eded3ae4dba5c086eea
tree5fc672bab4d11b49db336f03133dd99f07789d61
parent8a85ece3d22993e7f12a1034cb92bcafb428ce82
drm/amdgpu: add hdp version 4 functions

Unify hdp related function into hdp structure for hdp version 4.
V2: Add function to remap hdp registers for nbio version 6.1

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/hdp_v4_0.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/hdp_v4_0.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c