drm/arcpgu: rework encoder search
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Tue, 11 Jun 2019 17:21:59 +0000 (20:21 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Wed, 17 Jul 2019 20:36:56 +0000 (23:36 +0300)
commitcee17a71656e9e1b5ffc01767844026550d5f4a9
tree5fd1502185fed8b8eb35661611bb98ff3190e818
parent7aaddd96d5febcf5b24357a326b3038d49a20532
drm/arcpgu: rework encoder search

Instead of using non-standard "encoder-slave" property to find
encoder let's find it by associated endpoint.

While I'm on it add corresponding log message if we don't find
any encoder and we assume that we use virtual LCD on the
simulation platform.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
drivers/gpu/drm/arc/arcpgu_drv.c