@ -12,8 +12,8 @@
#include <wlr/interfaces/wlr_output.h>
#include <wlr/util/list.h>
#include <wlr/util/log.h>
#include <backend/udev.h>
#include "drm.h"
#include "backend/udev.h"
#include "backend/drm.h"
static bool wlr_drm_backend_init(struct wlr_backend_state *drm) {
wlr_drm_scan_connectors(drm);
@ -5,7 +5,7 @@
#include <xf86drm.h>
#include <xf86drmMode.h>
#include "drm-properties.h"
#include "backend/drm-properties.h"
/*
* Creates a mapping between property names and an array index where to store
@ -2,7 +2,7 @@
#include <string.h>
#include <drm.h>
#include <drm_mode.h>
#include "drm-util.h"
#include "backend/drm-util.h"
int32_t calculate_refresh_rate(drmModeModeInfo *mode) {
int32_t refresh = (mode->clock * 1000000LL / mode->htotal +
@ -18,8 +18,8 @@
#include <wlr/render/matrix.h>
#include <wlr/render/gles2.h>
#include <wlr/render.h>
bool wlr_drm_check_features(struct wlr_backend_state *drm) {
if (drmSetClientCap(drm->fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1)) {