mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
Merge "msm: kgsl: Allocate user_ctxt_record based on preemption feature flag"
This commit is contained in:
commit
ef1348bf37
1 changed files with 1 additions and 1 deletions
|
|
@ -731,7 +731,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…
Reference in a new issue