summaryrefslogtreecommitdiffstats
path: root/src/hgl/GLRendererRoster.cpp
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-01-15 16:03:44 -0800
committerEric Anholt <[email protected]>2019-01-16 16:28:41 -0800
commit06057267762d4ed32b22da79704139333f31e680 (patch)
tree338a52b94022c2831963b4b2a4394bbb90aec9fc /src/hgl/GLRendererRoster.cpp
parent59527a36e97586a2c29eadb22ae555b918591aed (diff)
v3d: Don't leak the GPU fd for renderonly usage.
The CTS was running out of fds, because of the ro->gpu_fd never being closed. ro->gpu_fd should match the screen (in case the caller of v3d_drm_screen_create_renderonly() has a scanout_for_resource() that uses gpu_fd) and the screen is expected to close its fd at the end, fixing the resource leak. Fixes: e113b21cb779 ("v3d: Add renderonly support.")
Diffstat (limited to 'src/hgl/GLRendererRoster.cpp')
0 files changed, 0 insertions, 0 deletions