crocus: Honor scanout requirement from DRI
Translate PIPE_BIND_SCANOUT as ISL_SURF_USAGE_DISPLAY_BIT, instead of PIPE_BIND_DISPLAY_TARGET.f3630548 Author: Dave Airlie airlied@redhat.com Date: Tue Jun 1 13:14:51 2021 +1000
crocus: initial gallium driver for Intel gfx 4-7
PIPE_BIND_DISPLAY_TARGET isn't used for dri images and seem to be set only for fake winsys buffers (which aren't displayed). The trouble is that a fake buffer could be multisampled and we cannot have multisampled surface with display bit.
Ported from iris 82b46667