diff options
author | Michel Dänzer <[email protected]> | 2019-12-23 18:51:57 +0100 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2020-01-23 17:39:34 +0100 |
commit | c6468f66c7a47f0e16df2f1200db33eef6d2d1f4 (patch) | |
tree | 888194e004d35229f34c1d8cf78561ab3b40fb44 /src/gallium/winsys/i915 | |
parent | 24075ac60fcc09dad173cb792e8f186c6379c086 (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