aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/i915
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2019-12-23 18:51:57 +0100
committerMichel Dänzer <[email protected]>2020-01-23 17:39:34 +0100
commitc6468f66c7a47f0e16df2f1200db33eef6d2d1f4 (patch)
tree888194e004d35229f34c1d8cf78561ab3b40fb44 /src/gallium/winsys/i915
parent24075ac60fcc09dad173cb792e8f186c6379c086 (diff)
winsys/amdgpu: Only re-export KMS handles for different DRM FDs
When the amdgpu_screen_winsys uses the same FD as the amdgpu_winsys (which is always the case for the first amdgpu_screen_winsys), we can just use bo->u.real.kms_handle. v2: * Also only create the kms_handles hash table if the amdgpu_screen_winsys fd is different from the amdgpu_winsys one. Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3202>
Diffstat (limited to 'src/gallium/winsys/i915')
0 files changed, 0 insertions, 0 deletions