ecore_drm: Check for currently used CRTC first before searching others
authorStefan Schmidt <s.schmidt@samsung.com>
Tue, 1 Jul 2014 13:01:38 +0000 (15:01 +0200)
committerStefan Schmidt <s.schmidt@samsung.com>
Tue, 1 Jul 2014 13:10:00 +0000 (15:10 +0200)
commita7428edeb41efe67b0a36bb976d54666a648fd58
treed70a9412de768bd5b767f3f504b0e88bf84d29ac
parent64d54ed96484fddb4ca80b6044a5b0976d8c5c6d
ecore_drm: Check for currently used CRTC first before searching others

If we have a CRTC already configured save the work to search for a new
crtc and encoder combination that works with this connector. Just use what
we have.

Also always check if the CRTC is already allocated for a different connection
before using it.
src/lib/ecore_drm/ecore_drm_output.c