drm/amdgpu: add hdp version 6 functions
authorLikun Gao <Likun.Gao@amd.com>
Mon, 4 Apr 2022 21:29:28 +0000 (17:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 13:53:58 +0000 (09:53 -0400)
commit563fcfbf3101b569d642ac4d71c8177f0d7dc0ce
treecde2538e5a590269c9fb483f42cd739dc96c6b52
parent068421b1730fe65fb4f73921fdb78c080b0c62f4
drm/amdgpu: add hdp version 6 functions

Unify hdp related function into hdp structure for hdp version 6.
V2: Remove hdp invalidate function as hdp v6 doesn't have read cache.

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/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/hdp_v6_0.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/hdp_v6_0.h [new file with mode: 0644]