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.
encoder case, the bind will assign the drm_device into encoder->dev, so preserve the drm_device in the bind call.
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 sam@ravnborg.org