[PATCH 4/4] drm/amd/amdgpu: Use 32/64-bit types for VCE2
Tom St Denis
tom.stdenis at amd.com
Tue May 16 12:45:30 UTC 2017
The uintNN_t types were already in use except for a few
spots.
Signed-off-by: Tom St Denis <tom.stdenis at amd.com>
---
drivers/gpu/drm/amd/amdgpu/vce_v2_0.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/vce_v2_0.c b/drivers/gpu/drm/amd/amdgpu/vce_v2_0.c
index 47f70827195b..0a5b62508644 100644
--- a/drivers/gpu/drm/amd/amdgpu/vce_v2_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/vce_v2_0.c
@@ -146,7 +146,7 @@ static void vce_v2_0_disable_cg(struct amdgpu_device *adev)
static void vce_v2_0_init_cg(struct amdgpu_device *adev)
{
- u32 tmp;
+ uint32_t tmp;
tmp = RREG32(mmVCE_CLOCK_GATING_A);
tmp &= ~0xfff;
@@ -309,7 +309,7 @@ static int vce_v2_0_stop(struct amdgpu_device *adev)
static void vce_v2_0_set_sw_cg(struct amdgpu_device *adev, bool gated)
{
- u32 tmp;
+ uint32_t tmp;
if (gated) {
tmp = RREG32(mmVCE_CLOCK_GATING_B);
@@ -344,7 +344,7 @@ static void vce_v2_0_set_sw_cg(struct amdgpu_device *adev, bool gated)
static void vce_v2_0_set_dyn_cg(struct amdgpu_device *adev, bool gated)
{
- u32 orig, tmp;
+ uint32_t orig, tmp;
/* LMI_MC/LMI_UMC always set in dynamic,
* set {CGC_*_GATE_MODE, CGC_*_SW_GATE} = {0, 0}
--
2.12.0
More information about the amd-gfx
mailing list