forked from enlightenment/efl
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:
parent
135ac29817
commit
2f9cb33f0b
|
@ -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);
|
||||
|
|
|
@ -276,7 +276,7 @@ struct _Ecore_Drm2_Device
|
|||
|
||||
struct
|
||||
{
|
||||
uint32_t crtc, conn;
|
||||
uint32_t conn;
|
||||
} alloc;
|
||||
|
||||
struct
|
||||
|
|
Loading…
Reference in New Issue