]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit3c556139481c5fb755fb8316e9a07307dc82c711
tree5fc672bab4d11b49db336f03133dd99f07789d61
parentb291a3872b5a8f105025c22a956c853779ad2326
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