Skip to content
Commit 179c5bdb authored by Eric Anholt's avatar Eric Anholt Committed by popcornmix
Browse files

drm/v3d: Fix BO stats accounting for dma-buf-imported buffers.



We always decrement at GEM free, so make sure we increment at GEM
creation for dma-bufs.

Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190207232613.24981-1-eric@anholt.net


Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
(cherry picked from commit cc3f60cf)
parent 0f3d3032
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment