diff options
author | Michel Dänzer <[email protected]> | 2014-03-13 10:25:10 +0900 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2014-03-17 11:53:59 +0900 |
commit | 7e0396dd7330475ef72d8062d6d670c67f16d67b (patch) | |
tree | e1165c1d29e66f05b8c703a868a9acce93613594 /src/egl/drivers/dri2/egl_dri2.c | |
parent | 361902ec04ee54a51f73cd6129d59a6fd7160097 (diff) |
winsys/radeon: Store GPU virtual memory addresses of BOs in a hash table
This allows retrieving the existing BO and incrementing its reference count,
instead of creating a separate winsys representation for it, when the kernel
reports that the BO was already assigned a virtual memory address.
This fixes problems with XWayland using radeonsi and the
xf86-video-wlglamor driver, which calls GEM flink outside of the radeon
winsys code and creates BOs from the flinked names using the same DRM file
descriptor.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/egl/drivers/dri2/egl_dri2.c')
0 files changed, 0 insertions, 0 deletions