Skip to content

Commit

Permalink
platforms/atomic-kms: Trigger on_consumed when successfully importi…
Browse files Browse the repository at this point in the history
…ng a buffer for bypass
  • Loading branch information
RAOF authored and tarek-y-ismail committed Oct 15, 2024
1 parent f77ddf6 commit bd7b097
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/platforms/atomic-kms/server/kms/display_buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,8 @@ auto mga::DmaBufDisplayAllocator::framebuffer_for(std::shared_ptr<DMABufBuffer>
geometry::Size size_;
};

buffer->on_consumed();

return std::make_unique<AtomicKmsFbHandle>(fb_id, buffer->size());
}

Expand Down

0 comments on commit bd7b097

Please sign in to comment.