aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/backend/drm/iface.h3
-rw-r--r--include/backend/drm/properties.h4
2 files changed, 2 insertions, 5 deletions
diff --git a/include/backend/drm/iface.h b/include/backend/drm/iface.h
index 6393579c..9377af03 100644
--- a/include/backend/drm/iface.h
+++ b/include/backend/drm/iface.h
@@ -16,9 +16,6 @@ struct wlr_drm_interface {
// Commit al pending changes on a CRTC.
bool (*crtc_commit)(struct wlr_drm_backend *drm,
struct wlr_drm_connector *conn, uint32_t flags);
- // Get the gamma lut size of a crtc
- size_t (*crtc_get_gamma_size)(struct wlr_drm_backend *drm,
- struct wlr_drm_crtc *crtc);
};
extern const struct wlr_drm_interface atomic_iface;
diff --git a/include/backend/drm/properties.h b/include/backend/drm/properties.h
index 810a03a3..fba444aa 100644
--- a/include/backend/drm/properties.h
+++ b/include/backend/drm/properties.h
@@ -31,13 +31,13 @@ union wlr_drm_crtc_props {
uint32_t rotation;
uint32_t scaling_mode;
uint32_t vrr_enabled;
+ uint32_t gamma_lut;
+ uint32_t gamma_lut_size;
// atomic-modesetting only
uint32_t active;
uint32_t mode_id;
- uint32_t gamma_lut;
- uint32_t gamma_lut_size;
};
uint32_t props[6];
};