display: find the correct output 42/175242/1
authorBoram Park <boram1288.park@samsung.com>
Mon, 9 Apr 2018 12:18:37 +0000 (21:18 +0900)
committerBoram Park <boram1288.park@samsung.com>
Mon, 9 Apr 2018 12:18:37 +0000 (21:18 +0900)
commit547570439aa623b2f46197c3362e65f0af93dec1
tree7e99364d97770034ba6c332540c071f6c09c0e46
parentd6ada65f4863702f6d7d5c1080b408e332fb8923
display: find the correct output

To find a primary output, we have to check the connection status first.
If there is no connected output, this function will return the first output.

Change-Id: If386dcabc6524ce81a1f08c87082342a259278f3
src/tdm_display.c