[PATCH 4/4] drm/amd/amdgpu: Use 32/64-bit types for VCE2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux