~ubuntu-x-swat/mesa:ubuntu-focal-lts

Last commit made on 2020-06-15
Get this branch:
git clone -b ubuntu-focal-lts https://git.launchpad.net/~ubuntu-x-swat/mesa
Members of Ubuntu-X can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
ubuntu-focal-lts
Repository:
lp:~ubuntu-x-swat/mesa

Recent commits

dd7f1c5... by Timo Aaltonen

upload to bionic

46df40f... by Timo Aaltonen

Merge branch 'ubuntu-focal' into ubuntu-focal-lts

6e0edaa... by Timo Aaltonen

release to focal

dc06a5b... by Timo Aaltonen

release to groovy

de5a731... by Timo Aaltonen

fix-build-with-llvm-10.diff: Dropped, upstream.

d054ce7... by Timo Aaltonen

Merge tag 'mesa-20.0.8' into ubuntu

mesa-20.0.8

1ad0ce4... by Dylan Baker <email address hidden>

VERSION: bump to 20.0.8

823ff39... by Dylan Baker <email address hidden>

docs: Add release notes for 20.0.8

1abcfb0... by =?utf-8?q?Michel_D=C3=A4nzer?= <email address hidden>

util: Change os_same_file_description return type from bool to int

This allows communicating that it wasn't possible to determine whether
the two file descriptors reference the same file description. When
that's the case, log a warning in the amdgpu winsys.

In turn, remove the corresponding debugging output from the fallback
os_same_file_description implementation. It depends on the caller if
false negatives are problematic or not.

Reviewed-by: Eric Engestrom <email address hidden>
Reviewed-by: Marek Olšák <email address hidden>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3879>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3879>
(cherry picked from commit f5a8958910f53d924d062cbf024cebe4134f757a)

05ee658... by Lionel Landwerlin <email address hidden>

iris: fix export of GEM handles

We reuse DRM file descriptors internally. Therefore when we export a
GEM handle we must do so in the file descriptor used externally.

This change also fixes a file descriptor leak of the FD given at
screen creation.

v2: Don't bother checking fd equals, they're always different
    Fix dmabuf leak
    Fix GEM handle leaks by tracking exported handles

v3: Check os_same_file_description error (Michel)
    Don't create multiple exports for a given GEM table

v4: Add WARN_ONCE (Ken)
    Rename external_fd to winsys_fd

v5: Remove export lock in favor of bufmgr's

Signed-off-by: Lionel Landwerlin <email address hidden>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2882
Fixes: 7557f1605968 ("iris: share buffer managers accross screens")
Tested-by: Eric Engestrom <email address hidden>
Tested-by: Tapani Pälli <email address hidden>
Reviewed-by: Kenneth Graunke <email address hidden>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4861>
(cherry picked from commit aba3aed96e4394a213e188f2f71ef045803a27c5)