Revert "winsys/amdgpu: Re-use amdgpu_screen_winsys when possible"
authorMarek Olšák <marek.olsak@amd.com>
Mon, 27 Jan 2020 22:40:38 +0000 (17:40 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 27 Jan 2020 22:48:42 +0000 (17:48 -0500)
commit0c154d9e2db48c5b97ac6f428d3fe9ed5774da30
tree03be854008d48965b20ee9158dca67336da85fb1
parentba06c7620f3eac333b58542bf01e1586d6346a61
Revert "winsys/amdgpu: Re-use amdgpu_screen_winsys when possible"

This reverts commit b60f5cbc15a99ddd9251bce40eae7d84c3a1c373.

This fixes dmesg errors and X freezes:
[   29.543096] amdgpu 0000:0c:00.0: No GEM object associated to handle 0x00000009, can't create framebuffer
[   29.543103] amdgpu 0000:0c:00.0: No GEM object associated to handle 0x00000009, can't create framebuffer
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.h