projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0520b30
)
drm/i915/gt: Use proper priority enum instead of 0
author
Nirmoy Das
<nirmoy.das@intel.com>
Mon, 23 Oct 2023 12:13:05 +0000
(14:13 +0200)
committer
Nirmoy Das
<nirmoy.das@intel.com>
Thu, 26 Oct 2023 13:18:56 +0000
(15:18 +0200)
I915_PRIORITY_NORMAL is 0 so use that instead for better
readability.
Cc: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20231023121305.12560-1-nirmoy.das@intel.com
drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c
b/drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c
index
9a527e1
..
1a8e2b7
100644
(file)
--- a/
drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c
+++ b/
drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c
@@
-188,7
+188,7
@@
static void heartbeat(struct work_struct *wrk)
* low latency and no jitter] the chance to naturally
* complete before being preempted.
*/
- attr.priority =
0
;
+ attr.priority =
I915_PRIORITY_NORMAL
;
if (rq->sched.attr.priority >= attr.priority)
attr.priority = I915_PRIORITY_HEARTBEAT;
if (rq->sched.attr.priority >= attr.priority)