[PATCH v2 13/60] drm/omap: dss: Remove omap_dss_device panel fields

Sebastian Reichel sre at kernel.org
Sun Jun 10 17:48:39 UTC 2018


Hi,

On Sat, May 26, 2018 at 08:24:31PM +0300, Laurent Pinchart wrote:
> The omap_dss_device panel.dsi_pix_fmt and panel.dsi_mode fields are
> unused. Remove them.
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---

Reviewed-by: Sebastian Reichel <sebastian.reichel at collabora.co.uk>

-- Sebastian

>  drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 1 -
>  drivers/gpu/drm/omapdrm/dss/omapdss.h           | 5 -----
>  2 files changed, 6 deletions(-)
> 
> diff --git a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c b/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c
> index 555ab2ac5576..8d98cd628e11 100644
> --- a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c
> +++ b/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c
> @@ -1333,7 +1333,6 @@ static int dsicm_probe(struct platform_device *pdev)
>  	dssdev->type = OMAP_DISPLAY_TYPE_DSI;
>  	dssdev->owner = THIS_MODULE;
>  
> -	dssdev->panel.dsi_pix_fmt = OMAP_DSS_DSI_FMT_RGB888;
>  	dssdev->caps = OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE |
>  		OMAP_DSS_DISPLAY_CAP_TEAR_ELIM;
>  
> diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h b/drivers/gpu/drm/omapdrm/dss/omapdss.h
> index a93afbbe19de..39e2906fd5fe 100644
> --- a/drivers/gpu/drm/omapdrm/dss/omapdss.h
> +++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h
> @@ -457,11 +457,6 @@ struct omap_dss_device {
>  	enum omap_display_type type;
>  	enum omap_display_type output_type;
>  
> -	struct {
> -		enum omap_dss_dsi_pixel_format dsi_pix_fmt;
> -		enum omap_dss_dsi_mode dsi_mode;
> -	} panel;
> -
>  	const char *name;
>  
>  	const struct omap_dss_driver *driver;
> -- 
> Regards,
> 
> Laurent Pinchart
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180610/df2017c1/attachment.sig>


More information about the dri-devel mailing list