summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2016-01-29 16:36:29 -0600
committerDave Airlie <airlied@redhat.com>2016-02-02 09:58:29 +1000
commit2d3301e4d513614873002707d32453f926f63666 (patch)
tree051444ec6057047802ad4d42c043af6398eaaae6 /src/gallium/targets/dri
parentf87330dbce3f67cb531194f63a5db59685dcbbd3 (diff)
downloadexternal_mesa3d-2d3301e4d513614873002707d32453f926f63666.zip
external_mesa3d-2d3301e4d513614873002707d32453f926f63666.tar.gz
external_mesa3d-2d3301e4d513614873002707d32453f926f63666.tar.bz2
virgl: fix reference counting of prime handles
The virgl reference counting of buffers is broken for prime fd buffers. Each prime fd passed into virgl_drm_winsys_resource_create_handle creates a new resource. The solution requires creating a separate hash table to track flink names separately from prime handles. Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/gallium/targets/dri')
0 files changed, 0 insertions, 0 deletions