aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/soc15.c
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2022-03-25 18:00:02 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-04-08 17:24:24 -0400
commit25faeddcf3c3f31f9f43de5c55f7cbdd13d3ebc7 (patch)
treeadcf05af9294d36fd96acd09fab97ecbb2388f24 /drivers/gpu/drm/amd/amdgpu/soc15.c
parentdrm/amd/amdgpu: Only reserve vram for firmware with vega9 MS_HYPERV host. (diff)
downloadlinux-dev-25faeddcf3c3f31f9f43de5c55f7cbdd13d3ebc7.tar.xz
linux-dev-25faeddcf3c3f31f9f43de5c55f7cbdd13d3ebc7.zip
drm/amdgpu: expand cg_flags from u32 to u64
With this, we can support more CG flags. Signed-off-by: Evan Quan <evan.quan@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc15.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 3d0251ef8d79..3ee7322081d2 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -1419,7 +1419,7 @@ static int soc15_common_set_clockgating_state(void *handle,
return 0;
}
-static void soc15_common_get_clockgating_state(void *handle, u32 *flags)
+static void soc15_common_get_clockgating_state(void *handle, u64 *flags)
{
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
int data;