backend/drm: Use cached vrr support flag

We do not expect the connector support to change throughout the lifetime
of the link on this connector, so use the value we initially probed.
This commit is contained in:
Kenny Levinsen 2024-06-18 11:33:02 +02:00 committed by Kirill Primak
parent f10327f915
commit bedc890935
4 changed files with 5 additions and 30 deletions

View file

@ -212,7 +212,6 @@ void restore_drm_device(struct wlr_drm_backend *drm);
int handle_drm_event(int fd, uint32_t mask, void *data);
void destroy_drm_connector(struct wlr_drm_connector *conn);
bool drm_connector_is_cursor_visible(struct wlr_drm_connector *conn);
bool drm_connector_supports_vrr(struct wlr_drm_connector *conn);
size_t drm_crtc_get_gamma_lut_size(struct wlr_drm_backend *drm,
struct wlr_drm_crtc *crtc);
void drm_lease_destroy(struct wlr_drm_lease *lease);