* [PATCH] drm/i915/gt: Use proper priority enum instead of 0
@ 2023-10-23 12:13 Nirmoy Das
2023-10-24 12:23 ` [Intel-gfx] " Andi Shyti
0 siblings, 1 reply; 2+ messages in thread
From: Nirmoy Das @ 2023-10-23 12:13 UTC (permalink / raw)
To: intel-gfx; +Cc: John Harrison, dri-devel, Nirmoy Das
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>
---
drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c b/drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c
index 9a527e1f5be6..1a8e2b7db013 100644
--- 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)
--
2.41.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Intel-gfx] [PATCH] drm/i915/gt: Use proper priority enum instead of 0
2023-10-23 12:13 [PATCH] drm/i915/gt: Use proper priority enum instead of 0 Nirmoy Das
@ 2023-10-24 12:23 ` Andi Shyti
0 siblings, 0 replies; 2+ messages in thread
From: Andi Shyti @ 2023-10-24 12:23 UTC (permalink / raw)
To: Nirmoy Das; +Cc: intel-gfx, dri-devel
Hi Nirmoy,
On Mon, Oct 23, 2023 at 02:13:05PM +0200, Nirmoy Das wrote:
> 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>
Andi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-24 12:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-23 12:13 [PATCH] drm/i915/gt: Use proper priority enum instead of 0 Nirmoy Das
2023-10-24 12:23 ` [Intel-gfx] " Andi Shyti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).