On Sun, Jul 04, 2021 at 02:32:15PM +0530, Jagan Teki wrote:
Now the exynos dsi driver supports bridge and legacy
encoder.
In order to support drm_device in both the implementations
it is required to preserve the drm_device in a private
structure and use it accordingly.
1. encoder case, the bind will assign the drm_device into
encoder->dev, so preserve the drm_device in the bind call.
2. bridge case, the drm_bridge_attach will assign the
drm_device into bridge->dev, so preserve the drm_device
in the bridge_attach function call.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Acked-by: Sam Ravnborg <redacted>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel