summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
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/amdgpu_nbio.h
parent49aa98ca30cd186ab33fc5802066e2024d3bfa39 (diff)
downloadlinux-stable-25faeddcf3c3f31f9f43de5c55f7cbdd13d3ebc7.tar.gz
linux-stable-25faeddcf3c3f31f9f43de5c55f7cbdd13d3ebc7.tar.bz2
linux-stable-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/amdgpu_nbio.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
index 3d13e601fc35..03439083182a 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
@@ -83,7 +83,7 @@ struct amdgpu_nbio_funcs {
void (*update_medium_grain_light_sleep)(struct amdgpu_device *adev,
bool enable);
void (*get_clockgating_state)(struct amdgpu_device *adev,
- u32 *flags);
+ u64 *flags);
void (*ih_control)(struct amdgpu_device *adev);
void (*init_registers)(struct amdgpu_device *adev);
void (*remap_hdp_registers)(struct amdgpu_device *adev);