summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_outputs.c2
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_private.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index a6e84ee268..c5f0d6b995 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -771,7 +771,6 @@ _output_create(Ecore_Drm2_Device *dev, const drmModeRes *res, const drmModeConne
771 output->enabled = EINA_FALSE; 771 output->enabled = EINA_FALSE;
772 } 772 }
773 773
774 dev->alloc.crtc |= (1 << output->crtc_id);
775 dev->alloc.conn |= (1 << output->conn_id); 774 dev->alloc.conn |= (1 << output->conn_id);
776 dev->outputs = eina_list_append(dev->outputs, output); 775 dev->outputs = eina_list_append(dev->outputs, output);
777 776
@@ -906,7 +905,6 @@ _output_destroy(Ecore_Drm2_Device *dev, Ecore_Drm2_Output *output)
906 free(mode); 905 free(mode);
907 } 906 }
908 907
909 dev->alloc.crtc &= ~(1 << output->crtc_id);
910 dev->alloc.conn &= ~(1 << output->conn_id); 908 dev->alloc.conn &= ~(1 << output->conn_id);
911 909
912 eina_stringshare_del(output->backlight.path); 910 eina_stringshare_del(output->backlight.path);
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index a85cb0c2d5..e48449ead6 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -276,7 +276,7 @@ struct _Ecore_Drm2_Device
276 276
277 struct 277 struct
278 { 278 {
279 uint32_t crtc, conn; 279 uint32_t conn;
280 } alloc; 280 } alloc;
281 281
282 struct 282 struct