artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e96cc0
)
drm/i915/guc/slpc: Apply min softlimit correctly
author
jsg
<jsg@openbsd.org>
Thu, 20 Jul 2023 08:56:48 +0000
(08:56 +0000)
committer
jsg
<jsg@openbsd.org>
Thu, 20 Jul 2023 08:56:48 +0000
(08:56 +0000)
From Vinay Belgaumkar
dcb526d768359095a438336f3aca5e8d98b7d2e6
in linux-6.1.y/6.1.39
3e49de73fb89272dea01ba420c7ccbcf6b96aed7
in mainline linux
sys/dev/pci/drm/i915/gt/uc/intel_guc_slpc.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/i915/gt/uc/intel_guc_slpc.c
b/sys/dev/pci/drm/i915/gt/uc/intel_guc_slpc.c
index
ebd2893
..
c0cb06f
100644
(file)
--- a/
sys/dev/pci/drm/i915/gt/uc/intel_guc_slpc.c
+++ b/
sys/dev/pci/drm/i915/gt/uc/intel_guc_slpc.c
@@
-580,7
+580,7
@@
static int slpc_set_softlimits(struct intel_guc_slpc *slpc)
if (unlikely(ret))
return ret;
slpc_to_gt(slpc)->defaults.min_freq = slpc->min_freq_softlimit;
- } else
if (slpc->min_freq_softlimit != slpc->min_freq)
{
+ } else {
return intel_guc_slpc_set_min_freq(slpc,
slpc->min_freq_softlimit);
}