Skip to content

Commit 1e95c23

Browse files
committed
drm/asahi: buffer: Complain more loudly about sync requests
This codepath is known broken and we have no plans to fix it. However, it works most of the time, and it can work around bugs in the minimum TVB size calculation formula. So if that ever happens, we still want it to fix the problem, but complain loudly so we can fix the calculation. Signed-off-by: Asahi Lina <[email protected]>
1 parent 5e5e00f commit 1e95c23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/asahi/buffer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -765,8 +765,8 @@ impl BufferManager::ver {
765765
.with_inner(|inner| inner.owners[slot as usize].as_ref().cloned())
766766
{
767767
Some(owner) => {
768-
pr_info!(
769-
"BufferManager: Received synchronous grow request for slot {}, this is not generally expected\n",
768+
pr_err!(
769+
"BufferManager: Unexpected grow request for slot {}. This might deadlock. Please report this bug.\n",
770770
slot
771771
);
772772
owner.sync_grow();

0 commit comments

Comments
 (0)