diff options
Diffstat (limited to 'drivers/gpu/drm/mcde')
| -rw-r--r-- | drivers/gpu/drm/mcde/mcde_drv.c | 9 | ||||
| -rw-r--r-- | drivers/gpu/drm/mcde/mcde_dsi.c | 5 | 
2 files changed, 8 insertions, 6 deletions
| diff --git a/drivers/gpu/drm/mcde/mcde_drv.c b/drivers/gpu/drm/mcde/mcde_drv.c index 9008ddcfc528..f28cb7a576ba 100644 --- a/drivers/gpu/drm/mcde/mcde_drv.c +++ b/drivers/gpu/drm/mcde/mcde_drv.c @@ -20,11 +20,11 @@   * input formats including most variants of RGB and YUV.   *   * The hardware has four display pipes, and the layout is a little - * bit like this: + * bit like this::   * - * Memory     -> Overlay -> Channel -> FIFO -> 5 formatters -> DSI/DPI - * External      0..5       0..3       A,B,    3 x DSI         bridge - * source 0..9                         C0,C1   2 x DPI + *   Memory     -> Overlay -> Channel -> FIFO -> 5 formatters -> DSI/DPI + *   External      0..5       0..3       A,B,    3 x DSI         bridge + *   source 0..9                         C0,C1   2 x DPI   *   * FIFOs A and B are for LCD and HDMI while FIFO CO/C1 are for   * panels with embedded buffer. @@ -43,6 +43,7 @@   * to change as we exploit more of the hardware capabilities.   *   * TODO: + *   * - Enabled damaged rectangles using drm_plane_enable_fb_damage_clips()   *   so we can selectively just transmit the damaged area to a   *   command-only display. diff --git a/drivers/gpu/drm/mcde/mcde_dsi.c b/drivers/gpu/drm/mcde/mcde_dsi.c index bb6528b01cd0..7af5ebb0c436 100644 --- a/drivers/gpu/drm/mcde/mcde_dsi.c +++ b/drivers/gpu/drm/mcde/mcde_dsi.c @@ -986,7 +986,8 @@ static void mcde_dsi_bridge_disable(struct drm_bridge *bridge)  	clk_disable_unprepare(d->lp_clk);  } -static int mcde_dsi_bridge_attach(struct drm_bridge *bridge) +static int mcde_dsi_bridge_attach(struct drm_bridge *bridge, +				  enum drm_bridge_attach_flags flags)  {  	struct mcde_dsi *d = bridge_to_mcde_dsi(bridge);  	struct drm_device *drm = bridge->dev; @@ -998,7 +999,7 @@ static int mcde_dsi_bridge_attach(struct drm_bridge *bridge)  	}  	/* Attach the DSI bridge to the output (panel etc) bridge */ -	ret = drm_bridge_attach(bridge->encoder, d->bridge_out, bridge); +	ret = drm_bridge_attach(bridge->encoder, d->bridge_out, bridge, flags);  	if (ret) {  		dev_err(d->dev, "failed to attach the DSI bridge\n");  		return ret; |