panfrost: Probe G31/G52 if PAN_MESA_DEBUG=bifrost
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 29 May 2020 23:24:45 +0000 (19:24 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 29 May 2020 23:24:45 +0000 (19:24 -0400)
commitbccb3deee2995e68a7f8a63d857f2cd298ff8361
tree5be3a75e18924d52ae7d035bcf86322fb57edc47
parentbe8cbe0b41dcabb5a0beb7b2ab2bd6ce87eb7955
panfrost: Probe G31/G52 if PAN_MESA_DEBUG=bifrost

We're not *quite* ready to open the flood gates on Bifrost (a major
blocker is CI, which is itself blocked on the lockdowns - expected to be
resolved in the coming months..)

Nevertheless, let's add a debug option to probe on compatible Bifrost
devices to avoid keeping out-of-tree patches around.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5272>
src/gallium/drivers/panfrost/pan_screen.c
src/panfrost/encoder/pan_util.h