aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/smuio_v9_0.c
diff options
context:
space:
mode:
authorEvan Quan <[email protected]>2022-03-25 10:00:02 +0000
committerAlex Deucher <[email protected]>2022-04-08 21:24:24 +0000
commit25faeddcf3c3f31f9f43de5c55f7cbdd13d3ebc7 (patch)
treeadcf05af9294d36fd96acd09fab97ecbb2388f24 /drivers/gpu/drm/amd/amdgpu/smuio_v9_0.c
parentdrm/amd/amdgpu: Only reserve vram for firmware with vega9 MS_HYPERV host. (diff)
downloadkernel-25faeddcf3c3f31f9f43de5c55f7cbdd13d3ebc7.tar.gz
kernel-25faeddcf3c3f31f9f43de5c55f7cbdd13d3ebc7.zip
drm/amdgpu: expand cg_flags from u32 to u64
With this, we can support more CG flags. Signed-off-by: Evan Quan <[email protected]> Acked-by: Alex Deucher <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/smuio_v9_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/smuio_v9_0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/smuio_v9_0.c b/drivers/gpu/drm/amd/amdgpu/smuio_v9_0.c
index 8417890af227..e4e30b9d481b 100644
--- a/drivers/gpu/drm/amd/amdgpu/smuio_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/smuio_v9_0.c
@@ -56,7 +56,7 @@ static void smuio_v9_0_update_rom_clock_gating(struct amdgpu_device *adev, bool
WREG32_SOC15(SMUIO, 0, mmCGTT_ROM_CLK_CTRL0, data);
}
-static void smuio_v9_0_get_clock_gating_state(struct amdgpu_device *adev, u32 *flags)
+static void smuio_v9_0_get_clock_gating_state(struct amdgpu_device *adev, u64 *flags)
{
u32 data;