Skip to content

Commit

Permalink
drm/asahi: buffer: Complain more loudly about sync requests
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
asahilina committed Sep 9, 2023
1 parent 5e5e00f commit 1e95c23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/asahi/buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -765,8 +765,8 @@ impl BufferManager::ver {
.with_inner(|inner| inner.owners[slot as usize].as_ref().cloned())
{
Some(owner) => {
pr_info!(
"BufferManager: Received synchronous grow request for slot {}, this is not generally expected\n",
pr_err!(
"BufferManager: Unexpected grow request for slot {}. This might deadlock. Please report this bug.\n",
slot
);
owner.sync_grow();
Expand Down

0 comments on commit 1e95c23

Please sign in to comment.