All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] drm/omapdrm: Remove unused struct csc_coef_rgb2yuv
@ 2022-10-14  2:48 Yuan Can
  2022-10-15 17:52 ` Laurent Pinchart
  2022-12-16  8:26 ` Tomi Valkeinen
  0 siblings, 2 replies; 3+ messages in thread
From: Yuan Can @ 2022-10-14  2:48 UTC (permalink / raw)
  To: tomba, airlied, daniel, neil.armstrong, bparrot, cai.huoqing,
	arnd, guozhengkui, jsarha, laurent.pinchart, dri-devel
  Cc: yuancan

After commit 64ff18911878, struct csc_coef_rgb2yuv is not used any more
and can be removed as well.

Fixes: 64ff18911878 ("drm/omap: Enable COLOR_ENCODING and COLOR_RANGE properties for planes")
Signed-off-by: Yuan Can <yuancan@huawei.com>
---
changes in v2:
- adjust commit msg
---
 drivers/gpu/drm/omapdrm/dss/dispc.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/omapdrm/dss/dispc.c b/drivers/gpu/drm/omapdrm/dss/dispc.c
index 0ee344ebcd1c..aacad5045e95 100644
--- a/drivers/gpu/drm/omapdrm/dss/dispc.c
+++ b/drivers/gpu/drm/omapdrm/dss/dispc.c
@@ -855,11 +855,6 @@ struct csc_coef_yuv2rgb {
 	bool full_range;
 };
 
-struct csc_coef_rgb2yuv {
-	int yr, yg, yb, cbr, cbg, cbb, crr, crg, crb;
-	bool full_range;
-};
-
 static void dispc_ovl_write_color_conv_coef(struct dispc_device *dispc,
 					    enum omap_plane_id plane,
 					    const struct csc_coef_yuv2rgb *ct)
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] drm/omapdrm: Remove unused struct csc_coef_rgb2yuv
  2022-10-14  2:48 [PATCH v2] drm/omapdrm: Remove unused struct csc_coef_rgb2yuv Yuan Can
@ 2022-10-15 17:52 ` Laurent Pinchart
  2022-12-16  8:26 ` Tomi Valkeinen
  1 sibling, 0 replies; 3+ messages in thread
From: Laurent Pinchart @ 2022-10-15 17:52 UTC (permalink / raw)
  To: Yuan Can
  Cc: neil.armstrong, arnd, tomba, guozhengkui, jsarha, cai.huoqing, dri-devel

Hi Yuan,

Thank you for the patch.

On Fri, Oct 14, 2022 at 02:48:10AM +0000, Yuan Can wrote:
> After commit 64ff18911878, struct csc_coef_rgb2yuv is not used any more
> and can be removed as well.
> 
> Fixes: 64ff18911878 ("drm/omap: Enable COLOR_ENCODING and COLOR_RANGE properties for planes")
> Signed-off-by: Yuan Can <yuancan@huawei.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
> changes in v2:
> - adjust commit msg
> ---
>  drivers/gpu/drm/omapdrm/dss/dispc.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/drivers/gpu/drm/omapdrm/dss/dispc.c b/drivers/gpu/drm/omapdrm/dss/dispc.c
> index 0ee344ebcd1c..aacad5045e95 100644
> --- a/drivers/gpu/drm/omapdrm/dss/dispc.c
> +++ b/drivers/gpu/drm/omapdrm/dss/dispc.c
> @@ -855,11 +855,6 @@ struct csc_coef_yuv2rgb {
>  	bool full_range;
>  };
>  
> -struct csc_coef_rgb2yuv {
> -	int yr, yg, yb, cbr, cbg, cbb, crr, crg, crb;
> -	bool full_range;
> -};
> -
>  static void dispc_ovl_write_color_conv_coef(struct dispc_device *dispc,
>  					    enum omap_plane_id plane,
>  					    const struct csc_coef_yuv2rgb *ct)

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] drm/omapdrm: Remove unused struct csc_coef_rgb2yuv
  2022-10-14  2:48 [PATCH v2] drm/omapdrm: Remove unused struct csc_coef_rgb2yuv Yuan Can
  2022-10-15 17:52 ` Laurent Pinchart
@ 2022-12-16  8:26 ` Tomi Valkeinen
  1 sibling, 0 replies; 3+ messages in thread
From: Tomi Valkeinen @ 2022-12-16  8:26 UTC (permalink / raw)
  To: Yuan Can, airlied, daniel, neil.armstrong, bparrot, cai.huoqing,
	arnd, guozhengkui, jsarha, laurent.pinchart, dri-devel

On 14/10/2022 05:48, Yuan Can wrote:
> After commit 64ff18911878, struct csc_coef_rgb2yuv is not used any more
> and can be removed as well.
> 
> Fixes: 64ff18911878 ("drm/omap: Enable COLOR_ENCODING and COLOR_RANGE properties for planes")
> Signed-off-by: Yuan Can <yuancan@huawei.com>
> ---
> changes in v2:
> - adjust commit msg
> ---
>   drivers/gpu/drm/omapdrm/dss/dispc.c | 5 -----
>   1 file changed, 5 deletions(-)
> 
> diff --git a/drivers/gpu/drm/omapdrm/dss/dispc.c b/drivers/gpu/drm/omapdrm/dss/dispc.c
> index 0ee344ebcd1c..aacad5045e95 100644
> --- a/drivers/gpu/drm/omapdrm/dss/dispc.c
> +++ b/drivers/gpu/drm/omapdrm/dss/dispc.c
> @@ -855,11 +855,6 @@ struct csc_coef_yuv2rgb {
>   	bool full_range;
>   };
>   
> -struct csc_coef_rgb2yuv {
> -	int yr, yg, yb, cbr, cbg, cbb, crr, crg, crb;
> -	bool full_range;
> -};
> -
>   static void dispc_ovl_write_color_conv_coef(struct dispc_device *dispc,
>   					    enum omap_plane_id plane,
>   					    const struct csc_coef_yuv2rgb *ct)

Thanks, applying to drm-misc.

  Tomi


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-16 11:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-14  2:48 [PATCH v2] drm/omapdrm: Remove unused struct csc_coef_rgb2yuv Yuan Can
2022-10-15 17:52 ` Laurent Pinchart
2022-12-16  8:26 ` Tomi Valkeinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.