Loading drivers/gpu/msm/adreno_drawctxt.c +3 −2 Original line number Original line Diff line number Diff line /* Copyright (c) 2002,2007-2017, The Linux Foundation. All rights reserved. /* Copyright (c) 2002,2007-2017,2020, The Linux Foundation. All rights reserved. * * * This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -473,11 +473,12 @@ void adreno_drawctxt_detach(struct kgsl_context *context) drawctxt = ADRENO_CONTEXT(context); drawctxt = ADRENO_CONTEXT(context); rb = drawctxt->rb; rb = drawctxt->rb; spin_lock(&drawctxt->lock); spin_lock(&adreno_dev->active_list_lock); spin_lock(&adreno_dev->active_list_lock); list_del_init(&drawctxt->active_node); list_del_init(&drawctxt->active_node); spin_unlock(&adreno_dev->active_list_lock); spin_unlock(&adreno_dev->active_list_lock); spin_lock(&drawctxt->lock); count = drawctxt_detach_drawobjs(drawctxt, list); count = drawctxt_detach_drawobjs(drawctxt, list); spin_unlock(&drawctxt->lock); spin_unlock(&drawctxt->lock); Loading Loading
drivers/gpu/msm/adreno_drawctxt.c +3 −2 Original line number Original line Diff line number Diff line /* Copyright (c) 2002,2007-2017, The Linux Foundation. All rights reserved. /* Copyright (c) 2002,2007-2017,2020, The Linux Foundation. All rights reserved. * * * This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -473,11 +473,12 @@ void adreno_drawctxt_detach(struct kgsl_context *context) drawctxt = ADRENO_CONTEXT(context); drawctxt = ADRENO_CONTEXT(context); rb = drawctxt->rb; rb = drawctxt->rb; spin_lock(&drawctxt->lock); spin_lock(&adreno_dev->active_list_lock); spin_lock(&adreno_dev->active_list_lock); list_del_init(&drawctxt->active_node); list_del_init(&drawctxt->active_node); spin_unlock(&adreno_dev->active_list_lock); spin_unlock(&adreno_dev->active_list_lock); spin_lock(&drawctxt->lock); count = drawctxt_detach_drawobjs(drawctxt, list); count = drawctxt_detach_drawobjs(drawctxt, list); spin_unlock(&drawctxt->lock); spin_unlock(&drawctxt->lock); Loading