Loading drivers/gpu/msm/adreno_a6xx_preempt.c +2 −2 Original line number Diff line number Diff line Loading @@ -783,7 +783,7 @@ void a6xx_preemption_context_destroy(struct kgsl_context *context) struct kgsl_device *device = context->device; struct adreno_device *adreno_dev = ADRENO_DEVICE(device); if (!adreno_is_preemption_enabled(adreno_dev)) if (!ADRENO_FEATURE(adreno_dev, ADRENO_PREEMPTION)) return; gpumem_free_entry(context->user_ctxt_record); Loading @@ -798,7 +798,7 @@ int a6xx_preemption_context_init(struct kgsl_context *context) struct adreno_device *adreno_dev = ADRENO_DEVICE(device); uint64_t flags = 0; if (!adreno_is_preemption_enabled(adreno_dev)) if (!ADRENO_FEATURE(adreno_dev, ADRENO_PREEMPTION)) return 0; if (context->flags & KGSL_CONTEXT_SECURE) Loading Loading
drivers/gpu/msm/adreno_a6xx_preempt.c +2 −2 Original line number Diff line number Diff line Loading @@ -783,7 +783,7 @@ void a6xx_preemption_context_destroy(struct kgsl_context *context) struct kgsl_device *device = context->device; struct adreno_device *adreno_dev = ADRENO_DEVICE(device); if (!adreno_is_preemption_enabled(adreno_dev)) if (!ADRENO_FEATURE(adreno_dev, ADRENO_PREEMPTION)) return; gpumem_free_entry(context->user_ctxt_record); Loading @@ -798,7 +798,7 @@ int a6xx_preemption_context_init(struct kgsl_context *context) struct adreno_device *adreno_dev = ADRENO_DEVICE(device); uint64_t flags = 0; if (!adreno_is_preemption_enabled(adreno_dev)) if (!ADRENO_FEATURE(adreno_dev, ADRENO_PREEMPTION)) return 0; if (context->flags & KGSL_CONTEXT_SECURE) Loading