msm: Disallow mapping buffers with modifiers

GBM users don't know how to do CPU access to any buffer with a modfier.
So they have no business mapping them.

This fixes "jailbar" corruption resulting from something somewhere
trying to do sw rendering to a UBWC buffer

BUG=b:237708681
TEST=Alt-TopRowFullScreenButton on herobrine

Change-Id: Ideb80df17d4f174600b7f605f563f275655a88da
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/4195657
Tested-by: Rob Clark <robdclark@chromium.org>
Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
Commit-Queue: Rob Clark <robdclark@chromium.org>
Auto-Submit: Rob Clark <robdclark@chromium.org>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
1 file changed