[Mesa-dev] [Mesa-stable] [PATCH] gbm/dri: Check dri extension version before flush after unmap

Emil Velikov emil.l.velikov at gmail.com
Thu Mar 30 15:03:43 UTC 2017


On 30 March 2017 at 15:44, Thomas Hellstrom <thellstrom at vmware.com> wrote:
> 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: <mesa-stable at lists.freedesktop.org>
> Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
This approach also works. Thanks !

Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

-Emil


More information about the mesa-dev mailing list