3824429da0
dri2_resource_get_param() is called from two different places right now. Only one of them adds the EXPLICIT_FLUSH hint to the handle usage, which may disable the optimizations provided by this hint without a reason. Make sure to always add this hint when appropriate. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7603>