aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-06-09 16:35:44 +0200
committerIsaac Freund <mail@isaacfreund.com>2022-06-19 16:48:44 +0000
commit1f1c0275be21f02a430b3a9fd51bba9ba5be57d1 (patch)
tree72fedb60951c3f10c9403f1946b181426a97092c
parentd89285f7835d87cb873e2c5de1219ebdaae5d929 (diff)
backend/drm: remove unused CRTC count check
drmIsKMS already checks for this.
-rw-r--r--backend/drm/drm.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index cca0a8d4..1c22878c 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -1185,14 +1185,6 @@ static void disconnect_drm_connector(struct wlr_drm_connector *conn);
void scan_drm_connectors(struct wlr_drm_backend *drm,
struct wlr_device_hotplug_event *event) {
- /*
- * This GPU is not really a modesetting device.
- * It's just being used as a renderer.
- */
- if (drm->num_crtcs == 0) {
- return;
- }
-
if (event != NULL && event->connector_id != 0) {
wlr_log(WLR_INFO, "Scanning DRM connector %"PRIu32" on %s",
event->connector_id, drm->name);