File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
drivers/gpu/drm/msm/adreno Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1705,17 +1705,18 @@ static void a6xx_llc_slices_init(struct platform_device *pdev,
1705
1705
a6xx_gpu -> llc_mmio = ERR_PTR (- EINVAL );
1706
1706
}
1707
1707
1708
- #define GBIF_CLIENT_HALT_MASK BIT(0)
1709
- #define GBIF_ARB_HALT_MASK BIT(1)
1708
+ #define GBIF_CLIENT_HALT_MASK BIT(0)
1709
+ #define GBIF_ARB_HALT_MASK BIT(1)
1710
+ #define VBIF_XIN_HALT_CTRL0_MASK GENMASK(3, 0)
1710
1711
1711
1712
void a6xx_bus_clear_pending_transactions (struct adreno_gpu * adreno_gpu , bool gx_off )
1712
1713
{
1713
1714
struct msm_gpu * gpu = & adreno_gpu -> base ;
1714
1715
1715
1716
if (!a6xx_has_gbif (adreno_gpu )) {
1716
- gpu_write (gpu , REG_A6XX_VBIF_XIN_HALT_CTRL0 , 0xf );
1717
+ gpu_write (gpu , REG_A6XX_VBIF_XIN_HALT_CTRL0 , VBIF_XIN_HALT_CTRL0_MASK );
1717
1718
spin_until ((gpu_read (gpu , REG_A6XX_VBIF_XIN_HALT_CTRL1 ) &
1718
- 0xf ) == 0xf );
1719
+ ( VBIF_XIN_HALT_CTRL0_MASK )) == VBIF_XIN_HALT_CTRL0_MASK );
1719
1720
gpu_write (gpu , REG_A6XX_VBIF_XIN_HALT_CTRL0 , 0 );
1720
1721
1721
1722
return ;
You can’t perform that action at this time.
0 commit comments