[PATCH 3/4] drm/virtio: remove drm_dev_set_unique workaround

Emil Velikov emil.l.velikov at gmail.com
Mon Apr 9 10:24:04 UTC 2018


On 9 April 2018 at 09:26, Daniel Vetter <daniel at ffwll.ch> wrote:

>>  - point drm_device::dev to the parent of the virtio_device
>> The biggest hack imaginable, if even possible.
>
> What would/could break if we do this? Why is this a hack?

It _feels_ very hacky to reach/store the parent of the _parent_ device given.
Dummy grep for \<dev\> showed hundreds of entries, but many of those
are unrelated.
Will give it a closer look - might not be as bad, as I originally thought.

-Emil


More information about the dri-devel mailing list