The constants on lines 1613 and 1615 are the same.

julia

On Wed, 9 Nov 2016, kbuild test robot wrote:

>
> tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next-4.10-wip
> head:   a5178d59d93d8b04fed1de3602cd448de9f1f995
> commit: 94f2d9bf6f3c0c192bc864ba1530d0f40afe9984 [26/45] drm/amd/amdgpu: port 
> gfx6 over to new si headers
> :::::: branch date: 2 hours ago
> :::::: commit date: 2 hours ago
>
> >> drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:1613:24-48: duplicated argument to & 
> >> or |
>
> git remote add radeon-alex git://people.freedesktop.org/~agd5f/linux.git
> git remote update radeon-alex
> git checkout 94f2d9bf6f3c0c192bc864ba1530d0f40afe9984
> vim +1613 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
>
> 2cd46ad2 Ken Wang     2016-01-19  1597        }
> 2cd46ad2 Ken Wang     2016-01-19  1598
> 2cd46ad2 Ken Wang     2016-01-19  1599  err2:
> 2cd46ad2 Ken Wang     2016-01-19  1600        amdgpu_ib_free(adev, &ib, NULL);
> f54d1867 Chris Wilson 2016-10-25  1601        dma_fence_put(f);
> 2cd46ad2 Ken Wang     2016-01-19  1602  err1:
> 2cd46ad2 Ken Wang     2016-01-19  1603        amdgpu_gfx_scratch_free(adev, 
> scratch);
> 2cd46ad2 Ken Wang     2016-01-19  1604        return r;
> 2cd46ad2 Ken Wang     2016-01-19  1605  }
> 2cd46ad2 Ken Wang     2016-01-19  1606
> 2cd46ad2 Ken Wang     2016-01-19  1607  static void 
> gfx_v6_0_cp_gfx_enable(struct amdgpu_device *adev, bool enable)
> 2cd46ad2 Ken Wang     2016-01-19  1608  {
> 2cd46ad2 Ken Wang     2016-01-19  1609        int i;
> 2cd46ad2 Ken Wang     2016-01-19  1610        if (enable)
> 94f2d9bf Tom St Denis 2016-11-07  1611                WREG32(mmCP_ME_CNTL, 0);
> 2cd46ad2 Ken Wang     2016-01-19  1612        else {
> 94f2d9bf Tom St Denis 2016-11-07 @1613                WREG32(mmCP_ME_CNTL, 
> (CP_ME_CNTL__CE_HALT_MASK |
> 94f2d9bf Tom St Denis 2016-11-07  1614                                      
> CP_ME_CNTL__PFP_HALT_MASK |
> 94f2d9bf Tom St Denis 2016-11-07  1615                                      
> CP_ME_CNTL__CE_HALT_MASK));
> 94f2d9bf Tom St Denis 2016-11-07  1616                WREG32(mmSCRATCH_UMSK, 
> 0);
> 2cd46ad2 Ken Wang     2016-01-19  1617                for (i = 0; i < 
> adev->gfx.num_gfx_rings; i++)
> 2cd46ad2 Ken Wang     2016-01-19  1618                        
> adev->gfx.gfx_ring[i].ready = false;
> 2cd46ad2 Ken Wang     2016-01-19  1619                for (i = 0; i < 
> adev->gfx.num_compute_rings; i++)
> 2cd46ad2 Ken Wang     2016-01-19  1620                        
> adev->gfx.compute_ring[i].ready = false;
> 2cd46ad2 Ken Wang     2016-01-19  1621        }
>
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
>

Reply via email to