If we are a PRIME slave, we never need to allocate any memory for the frontbuffer, so skip the forced allocation during modesets.
3cfde9f sna: Only instantiate the frontbuffer on the GPU if used
src/compat-api.h | 6 ++++
src/sna/sna_display.c | 89 +++++++++++++++++++++++++++++++++----------------
2 files changed, 67 insertions(+), 28 deletions(-)
Upstream: cgit.freedesktop.org