artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
945264b
)
drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream'
author
jsg
<jsg@openbsd.org>
Fri, 11 Oct 2024 02:11:23 +0000
(
02:11
+0000)
committer
jsg
<jsg@openbsd.org>
Fri, 11 Oct 2024 02:11:23 +0000
(
02:11
+0000)
From Srinivasan Shanmugam
4778982c73d6c9f3fdbdbc6b6c8aa18df98251af
in linux-6.6.y/6.6.55
8141f21b941710ecebe49220b69822cab3abd23d
in mainline linux
sys/dev/pci/drm/amd/display/dc/core/dc_resource.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/display/dc/core/dc_resource.c
b/sys/dev/pci/drm/amd/display/dc/core/dc_resource.c
index
a2f302d
..
32df227
100644
(file)
--- a/
sys/dev/pci/drm/amd/display/dc/core/dc_resource.c
+++ b/
sys/dev/pci/drm/amd/display/dc/core/dc_resource.c
@@
-2877,8
+2877,10
@@
static bool planes_changed_for_existing_stream(struct dc_state *context,
}
}
- if (!stream_status)
+ if (!stream_status)
{
ASSERT(0);
+ return false;
+ }
for (i = 0; i < set_count; i++)
if (set[i].stream == stream)