mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-25 16:42:26 +00:00
backend/drm: don't allow legacy to use direct scanout
This commit is contained in:
parent
52281cb8ba
commit
321537ee92
@ -373,6 +373,13 @@ static bool test_buffer(struct wlr_drm_connector *conn,
|
||||
return false;
|
||||
}
|
||||
|
||||
/* Legacy never gets to have nice things. But I doubt this would ever work,
|
||||
* and there is no reliable way to try, without risking messing up the
|
||||
* modesetting state. */
|
||||
if (drm->iface == &legacy_iface) {
|
||||
return false;
|
||||
}
|
||||
|
||||
struct wlr_drm_crtc *crtc = conn->crtc;
|
||||
if (!crtc) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user