ecore_drm2: remove unused crtc bitfield

We'll need something like this when multi-head works, but it can't
be implemented this way anyway.  There's no guarantee that crtc
ids will be low enough to fit sensibly in a bitfield.
This commit is contained in:
Derek Foreman 2017-08-01 13:38:13 -05:00
parent 135ac29817
commit 2f9cb33f0b
2 changed files with 1 additions and 3 deletions

View File

@ -771,7 +771,6 @@ _output_create(Ecore_Drm2_Device *dev, const drmModeRes *res, const drmModeConne
output->enabled = EINA_FALSE;
}
dev->alloc.crtc |= (1 << output->crtc_id);
dev->alloc.conn |= (1 << output->conn_id);
dev->outputs = eina_list_append(dev->outputs, output);
@ -906,7 +905,6 @@ _output_destroy(Ecore_Drm2_Device *dev, Ecore_Drm2_Output *output)
free(mode);
}
dev->alloc.crtc &= ~(1 << output->crtc_id);
dev->alloc.conn &= ~(1 << output->conn_id);
eina_stringshare_del(output->backlight.path);

View File

@ -276,7 +276,7 @@ struct _Ecore_Drm2_Device
struct
{
uint32_t crtc, conn;
uint32_t conn;
} alloc;
struct