It's possible that the secondary gpu isn't using GBM for renderering. if that's the case we shouldn't try to flip using drm apis. This commit checks, and only does the flip when expected.