mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
backend/drm: remove conn_enable from interface
Use crtc_commit instead.
This commit is contained in:
parent
c608fc89d8
commit
f8e02db4bc
5 changed files with 91 additions and 75 deletions
|
|
@ -51,6 +51,7 @@ struct wlr_drm_crtc {
|
|||
uint32_t id;
|
||||
uint32_t pending; // bitfield of enum wlr_drm_crtc_field
|
||||
|
||||
bool active;
|
||||
drmModeModeInfo mode;
|
||||
|
||||
// Atomic modesetting only
|
||||
|
|
|
|||
|
|
@ -13,9 +13,6 @@ struct wlr_drm_crtc;
|
|||
|
||||
// Used to provide atomic or legacy DRM functions
|
||||
struct wlr_drm_interface {
|
||||
// Enable or disable DPMS for connector
|
||||
bool (*conn_enable)(struct wlr_drm_backend *drm,
|
||||
struct wlr_drm_connector *conn, bool enable);
|
||||
// Commit al pending changes on a CRTC.
|
||||
bool (*crtc_commit)(struct wlr_drm_backend *drm,
|
||||
struct wlr_drm_connector *conn, uint32_t flags);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue