drm/amdgpu/gfx10: Delete some duplicated argument to '|'
authorYe Bin <yebin10@huawei.com>
Thu, 3 Sep 2020 02:17:56 +0000 (10:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Sep 2020 18:48:18 +0000 (14:48 -0400)
1. gfx_v10_0_soft_reset GRBM_STATUS__SPI_BUSY_MASK
2. gfx_v10_0_update_gfx_clock_gating AMD_CG_SUPPORT_GFX_CGLS

Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Ye Bin <yebin10@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c

index 2db195ec8d0c636e2f86ca5f51597f6e1d0f2a88..d502e30f67d9a41846df8107060dbb0f91b33329 100644 (file)
@@ -7055,8 +7055,7 @@ static int gfx_v10_0_soft_reset(void *handle)
                   GRBM_STATUS__BCI_BUSY_MASK | GRBM_STATUS__SX_BUSY_MASK |
                   GRBM_STATUS__TA_BUSY_MASK | GRBM_STATUS__DB_BUSY_MASK |
                   GRBM_STATUS__CB_BUSY_MASK | GRBM_STATUS__GDS_BUSY_MASK |
-                  GRBM_STATUS__SPI_BUSY_MASK | GRBM_STATUS__GE_BUSY_NO_DMA_MASK
-                  | GRBM_STATUS__BCI_BUSY_MASK)) {
+                  GRBM_STATUS__SPI_BUSY_MASK | GRBM_STATUS__GE_BUSY_NO_DMA_MASK)) {
                grbm_soft_reset = REG_SET_FIELD(grbm_soft_reset,
                                                GRBM_SOFT_RESET, SOFT_RESET_CP,
                                                1);
@@ -7449,7 +7448,6 @@ static int gfx_v10_0_update_gfx_clock_gating(struct amdgpu_device *adev,
            (AMD_CG_SUPPORT_GFX_MGCG |
             AMD_CG_SUPPORT_GFX_CGLS |
             AMD_CG_SUPPORT_GFX_CGCG |
-            AMD_CG_SUPPORT_GFX_CGLS |
             AMD_CG_SUPPORT_GFX_3D_CGCG |
             AMD_CG_SUPPORT_GFX_3D_CGLS))
                gfx_v10_0_enable_gui_idle_interrupt(adev, enable);