diff options
author | qctecmdr <qctecmdr@localhost> | 2023-03-05 22:37:23 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2023-03-05 22:37:23 -0800 |
commit | 45af2cf9d6876daff5a62150e13b87a74be7c500 (patch) | |
tree | f7db0d76a81d699d81edabdfeab8278e3ad02cd5 | |
parent | a4aabb6d92481fcb469a9679cd7c57e72c55121a (diff) | |
parent | 56567239659b3d6b6c3e2c4646b7d6327b2b630e (diff) | |
download | graphics-45af2cf9d6876daff5a62150e13b87a74be7c500.tar.gz |
Merge "kgsl: Allow preemption override request for context creation"
-rw-r--r-- | adreno_drawctxt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/adreno_drawctxt.c b/adreno_drawctxt.c index b6346f2..cfbfaf5 100644 --- a/adreno_drawctxt.c +++ b/adreno_drawctxt.c @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2002,2007-2021, The Linux Foundation. All rights reserved. - * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. */ #include <linux/debugfs.h> @@ -359,7 +359,7 @@ adreno_drawctxt_create(struct kgsl_device_private *dev_priv, /* Check for errors before trying to initialize */ /* If preemption is not supported, ignore preemption request */ - if (!test_bit(ADRENO_DEVICE_PREEMPTION, &adreno_dev->priv)) + if (!adreno_preemption_feature_set(adreno_dev)) local &= ~KGSL_CONTEXT_PREEMPT_STYLE_MASK; /* We no longer support legacy context switching */ |