summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/hdp_v6_0.c
Commit message (Collapse)AuthorAgeFilesLines
* drm/amdgpu: Use function for IP version checkLijo Lazar2023-09-201-3/+3
| | | | | | | | | Use an inline function for version check. Gives more flexibility to handle any format changes. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
* drm/amdgpu: use 6.1.0 register offset for HDP CLK_CNTLLang Yu2023-08-301-4/+16
| | | | | | | | | Use 6.1.0 register offset and remove unused variable. v2: clean up logic (Alex) Signed-off-by: Lang Yu <Lang.Yu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
* drm/amdgpu: enable clock gating for HDP 6.0Evan Quan2022-05-051-29/+71
| | | | | | | | Enable HDP 6.0 clock gating. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
* drm/amdgpu: add hdp version 6 functionsLikun Gao2022-05-041-0/+100
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>