Armada DRM: bridge with componentized devices

Linus Walleij linus.walleij at linaro.org
Fri Jan 18 11:07:36 UTC 2019


On Tue, Jan 8, 2019 at 10:22 AM Andrzej Hajda <a.hajda at samsung.com> wrote:

> Of course it was tested on Exynos as this is HW I work on. Linus Walleij
> has also reported in this thread that device links have different issue
> - circular dependencies (last few emails in this lengthy thread). My
> response explains it in detail.

Indeed, it was detailed in
commit d6a77ba0eb92d8ffa4b05a442fc20d0a9b11c4c4

AFAICT the problem was that struct drm_device does not
contain a struct device itself, just a pointer
struct device * ->dev to the bus device which is unorthodox:
most other device type have a full struct device inside
them and the bus device would rather be that device's
parent.

I had this situation with struct gpio_chip for a long time
but eventually fixed it, which proved immensely helpful.

Yours,
Linus Walleij


More information about the dri-devel mailing list