Loading drivers/gpu/msm/adreno.c +7 −3 Original line number Diff line number Diff line /* Copyright (c) 2002,2007-2014, The Linux Foundation. All rights reserved. /* Copyright (c) 2002,2007-2015, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -1326,8 +1326,12 @@ int adreno_reset(struct kgsl_device *device) /* clear pending vbif transactions before reset */ adreno_vbif_clear_pending_transactions(device); /* Try soft reset first, for non mmu fault case only */ if (!atomic_read(&mmu->fault)) { /* * Try soft reset first, for non mmu fault case only. * Skip soft reset and use hard reset for A304 GPU, As * A304 is not able to do SMMU programming after soft reset. */ if (!atomic_read(&mmu->fault) && !adreno_is_a304(adreno_dev)) { ret = adreno_soft_reset(device); if (ret) KGSL_DEV_ERR_ONCE(device, "Device soft reset failed\n"); Loading Loading
drivers/gpu/msm/adreno.c +7 −3 Original line number Diff line number Diff line /* Copyright (c) 2002,2007-2014, The Linux Foundation. All rights reserved. /* Copyright (c) 2002,2007-2015, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -1326,8 +1326,12 @@ int adreno_reset(struct kgsl_device *device) /* clear pending vbif transactions before reset */ adreno_vbif_clear_pending_transactions(device); /* Try soft reset first, for non mmu fault case only */ if (!atomic_read(&mmu->fault)) { /* * Try soft reset first, for non mmu fault case only. * Skip soft reset and use hard reset for A304 GPU, As * A304 is not able to do SMMU programming after soft reset. */ if (!atomic_read(&mmu->fault) && !adreno_is_a304(adreno_dev)) { ret = adreno_soft_reset(device); if (ret) KGSL_DEV_ERR_ONCE(device, "Device soft reset failed\n"); Loading