diff options
author | Thomas Hellstrom <[email protected]> | 2017-03-30 16:33:47 +0200 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2017-03-31 10:25:46 +0200 |
commit | 18e2aa063ca8e2aeb22a72253891e6f8f5d0d96b (patch) | |
tree | 49990628c1c20d0ca4dc614fd076fb24f22c09d4 /common.py | |
parent | 02112c3ef7716955c889b6d10fb569b028a33f0e (diff) |
gbm/dri: Check dri extension version before flush after unmap
The commit mentioned below required the __DRI2FlushExtension to have
version 4 or above, for GBM functionality. That broke GBM with some
classic dri drivers. Relax that requirement so that we only flush
after unmap if we have version 4 or above. Drivers that require the flush
for correct functionality should implement the desired version.
Fixes: ba8df228 ("gbm/dri: Flush after unmap")
Cc: <[email protected]>
Signed-off-by: Thomas Hellstrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Tested-by: Dylan Baker <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions