Loading drivers/gpu/msm/adreno.h +6 −0 Original line number Diff line number Diff line Loading @@ -1034,6 +1034,12 @@ static inline int adreno_is_a6xx(struct adreno_device *adreno_dev) ADRENO_GPUREV(adreno_dev) < 700; } static inline int adreno_is_a660v1(struct adreno_device *adreno_dev) { return (ADRENO_GPUREV(adreno_dev) == ADRENO_REV_A660) && (ADRENO_CHIPID_PATCH(adreno_dev->chipid) == 0); } ADRENO_TARGET(a610, ADRENO_REV_A610) ADRENO_TARGET(a612, ADRENO_REV_A612) ADRENO_TARGET(a618, ADRENO_REV_A618) Loading drivers/gpu/msm/adreno_a6xx.c +3 −0 Original line number Diff line number Diff line Loading @@ -556,6 +556,9 @@ static void a6xx_start(struct adreno_device *adreno_dev) if (adreno_is_a660(adreno_dev)) kgsl_regwrite(device, A6XX_CP_CHICKEN_DBG, 0x1); if (adreno_is_a660v1(adreno_dev)) kgsl_regwrite(device, A6XX_RBBM_GBIF_CLIENT_QOS_CNTL, 0x0); } /* Loading Loading
drivers/gpu/msm/adreno.h +6 −0 Original line number Diff line number Diff line Loading @@ -1034,6 +1034,12 @@ static inline int adreno_is_a6xx(struct adreno_device *adreno_dev) ADRENO_GPUREV(adreno_dev) < 700; } static inline int adreno_is_a660v1(struct adreno_device *adreno_dev) { return (ADRENO_GPUREV(adreno_dev) == ADRENO_REV_A660) && (ADRENO_CHIPID_PATCH(adreno_dev->chipid) == 0); } ADRENO_TARGET(a610, ADRENO_REV_A610) ADRENO_TARGET(a612, ADRENO_REV_A612) ADRENO_TARGET(a618, ADRENO_REV_A618) Loading
drivers/gpu/msm/adreno_a6xx.c +3 −0 Original line number Diff line number Diff line Loading @@ -556,6 +556,9 @@ static void a6xx_start(struct adreno_device *adreno_dev) if (adreno_is_a660(adreno_dev)) kgsl_regwrite(device, A6XX_CP_CHICKEN_DBG, 0x1); if (adreno_is_a660v1(adreno_dev)) kgsl_regwrite(device, A6XX_RBBM_GBIF_CLIENT_QOS_CNTL, 0x0); } /* Loading