Loading drivers/gpu/msm/adreno_a6xx.c +0 −17 Original line number Diff line number Diff line Loading @@ -1405,8 +1405,6 @@ static int a6xx_soft_reset(struct adreno_device *adreno_dev) { struct kgsl_device *device = KGSL_DEVICE(adreno_dev); unsigned int reg; unsigned long time; bool vbif_acked = false; /* * For the soft reset case with GMU enabled this part is done Loading @@ -1425,21 +1423,6 @@ static int a6xx_soft_reset(struct adreno_device *adreno_dev) adreno_readreg(adreno_dev, ADRENO_REG_RBBM_SW_RESET_CMD, ®); adreno_writereg(adreno_dev, ADRENO_REG_RBBM_SW_RESET_CMD, 0); /* Wait for the VBIF reset ack to complete */ time = jiffies + msecs_to_jiffies(VBIF_RESET_ACK_TIMEOUT); do { kgsl_regread(device, A6XX_RBBM_VBIF_GX_RESET_STATUS, ®); if ((reg & VBIF_RESET_ACK_MASK) == VBIF_RESET_ACK_MASK) { vbif_acked = true; break; } cpu_relax(); } while (!time_after(jiffies, time)); if (!vbif_acked) return -ETIMEDOUT; /* Clear GBIF client halt and CX arbiter halt */ adreno_deassert_gbif_halt(adreno_dev); Loading Loading
drivers/gpu/msm/adreno_a6xx.c +0 −17 Original line number Diff line number Diff line Loading @@ -1405,8 +1405,6 @@ static int a6xx_soft_reset(struct adreno_device *adreno_dev) { struct kgsl_device *device = KGSL_DEVICE(adreno_dev); unsigned int reg; unsigned long time; bool vbif_acked = false; /* * For the soft reset case with GMU enabled this part is done Loading @@ -1425,21 +1423,6 @@ static int a6xx_soft_reset(struct adreno_device *adreno_dev) adreno_readreg(adreno_dev, ADRENO_REG_RBBM_SW_RESET_CMD, ®); adreno_writereg(adreno_dev, ADRENO_REG_RBBM_SW_RESET_CMD, 0); /* Wait for the VBIF reset ack to complete */ time = jiffies + msecs_to_jiffies(VBIF_RESET_ACK_TIMEOUT); do { kgsl_regread(device, A6XX_RBBM_VBIF_GX_RESET_STATUS, ®); if ((reg & VBIF_RESET_ACK_MASK) == VBIF_RESET_ACK_MASK) { vbif_acked = true; break; } cpu_relax(); } while (!time_after(jiffies, time)); if (!vbif_acked) return -ETIMEDOUT; /* Clear GBIF client halt and CX arbiter halt */ adreno_deassert_gbif_halt(adreno_dev); Loading