linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/panel: simple: Initialize bpc in RK101II01D-CT panel descriptor
@ 2021-10-28 11:52 Rahul T R
  2021-11-08 16:33 ` Rahul T R
  0 siblings, 1 reply; 7+ messages in thread
From: Rahul T R @ 2021-10-28 11:52 UTC (permalink / raw)
  To: thierry.reding
  Cc: sam, airlied, daniel, dri-devel, linux-kernel, nikhil.nd, Rahul T R

Initialize bpc while creating panel_desc structure for RK101II01D-CT

Below warning is triggered since bpc is not being initialized

WARNING: CPU: 2 PID: 47 at drivers/gpu/drm/panel/panel-simple.c:614
panel_simple_probe+0x1b0/0x3c8

Signed-off-by: Rahul T R <r-ravikumar@ti.com>
---
 drivers/gpu/drm/panel/panel-simple.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index dde033066f3d..32f775db5cb7 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -3027,6 +3027,7 @@ static const struct drm_display_mode rocktech_rk101ii01d_ct_mode = {
 
 static const struct panel_desc rocktech_rk101ii01d_ct = {
 	.modes = &rocktech_rk101ii01d_ct_mode,
+	.bpc = 8,
 	.num_modes = 1,
 	.size = {
 		.width = 217,
-- 
2.17.1


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

* Re: [PATCH] drm/panel: simple: Initialize bpc in RK101II01D-CT panel descriptor
  2021-10-28 11:52 [PATCH] drm/panel: simple: Initialize bpc in RK101II01D-CT panel descriptor Rahul T R
@ 2021-11-08 16:33 ` Rahul T R
  2021-11-11 12:07   ` Rahul T R
  0 siblings, 1 reply; 7+ messages in thread
From: Rahul T R @ 2021-11-08 16:33 UTC (permalink / raw)
  To: thierry.reding, sam; +Cc: airlied, daniel, dri-devel, linux-kernel, nikhil.nd

On 17:22-20211028, Rahul T R wrote:
Hi Thierry / Sam,

Can you please review this patch

Regards
Rahul T R
> Initialize bpc while creating panel_desc structure for RK101II01D-CT
> 
> Below warning is triggered since bpc is not being initialized
> 
> WARNING: CPU: 2 PID: 47 at drivers/gpu/drm/panel/panel-simple.c:614
> panel_simple_probe+0x1b0/0x3c8
> 
> Signed-off-by: Rahul T R <r-ravikumar@ti.com>
> ---
>  drivers/gpu/drm/panel/panel-simple.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index dde033066f3d..32f775db5cb7 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -3027,6 +3027,7 @@ static const struct drm_display_mode rocktech_rk101ii01d_ct_mode = {
>  
>  static const struct panel_desc rocktech_rk101ii01d_ct = {
>  	.modes = &rocktech_rk101ii01d_ct_mode,
> +	.bpc = 8,
>  	.num_modes = 1,
>  	.size = {
>  		.width = 217,
> -- 
> 2.17.1
> 

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

* Re: [PATCH] drm/panel: simple: Initialize bpc in RK101II01D-CT panel descriptor
  2021-11-08 16:33 ` Rahul T R
@ 2021-11-11 12:07   ` Rahul T R
  2022-01-27 16:25     ` Rahul T R
  0 siblings, 1 reply; 7+ messages in thread
From: Rahul T R @ 2021-11-11 12:07 UTC (permalink / raw)
  To: thierry.reding, sam; +Cc: airlied, daniel, dri-devel, linux-kernel, nikhil.nd

On 22:03-20211108, Rahul T R wrote:
> On 17:22-20211028, Rahul T R wrote:
> Hi Thierry / Sam,
> 
> Can you please review this patch
> 
> Regards
> Rahul T R

ping

> > Initialize bpc while creating panel_desc structure for RK101II01D-CT
> > 
> > Below warning is triggered since bpc is not being initialized
> > 
> > WARNING: CPU: 2 PID: 47 at drivers/gpu/drm/panel/panel-simple.c:614
> > panel_simple_probe+0x1b0/0x3c8
> > 
> > Signed-off-by: Rahul T R <r-ravikumar@ti.com>
> > ---
> >  drivers/gpu/drm/panel/panel-simple.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> > index dde033066f3d..32f775db5cb7 100644
> > --- a/drivers/gpu/drm/panel/panel-simple.c
> > +++ b/drivers/gpu/drm/panel/panel-simple.c
> > @@ -3027,6 +3027,7 @@ static const struct drm_display_mode rocktech_rk101ii01d_ct_mode = {
> >  
> >  static const struct panel_desc rocktech_rk101ii01d_ct = {
> >  	.modes = &rocktech_rk101ii01d_ct_mode,
> > +	.bpc = 8,
> >  	.num_modes = 1,
> >  	.size = {
> >  		.width = 217,
> > -- 
> > 2.17.1
> > 

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

* Re: [PATCH] drm/panel: simple: Initialize bpc in RK101II01D-CT panel descriptor
  2021-11-11 12:07   ` Rahul T R
@ 2022-01-27 16:25     ` Rahul T R
  0 siblings, 0 replies; 7+ messages in thread
From: Rahul T R @ 2022-01-27 16:25 UTC (permalink / raw)
  To: thierry.reding, sam; +Cc: airlied, daniel, dri-devel, linux-kernel, nikhil.nd

On 17:37-20211111, Rahul T R wrote:
> On 22:03-20211108, Rahul T R wrote:
> > On 17:22-20211028, Rahul T R wrote:
> > Hi Thierry / Sam,
> > 
> > Can you please review this patch
> > 
> > Regards
> > Rahul T R
> 

Ping

> ping
> 
> > > Initialize bpc while creating panel_desc structure for RK101II01D-CT
> > > 
> > > Below warning is triggered since bpc is not being initialized
> > > 
> > > WARNING: CPU: 2 PID: 47 at drivers/gpu/drm/panel/panel-simple.c:614
> > > panel_simple_probe+0x1b0/0x3c8
> > > 
> > > Signed-off-by: Rahul T R <r-ravikumar@ti.com>
> > > ---
> > >  drivers/gpu/drm/panel/panel-simple.c | 1 +
> > >  1 file changed, 1 insertion(+)
> > > 
> > > diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> > > index dde033066f3d..32f775db5cb7 100644
> > > --- a/drivers/gpu/drm/panel/panel-simple.c
> > > +++ b/drivers/gpu/drm/panel/panel-simple.c
> > > @@ -3027,6 +3027,7 @@ static const struct drm_display_mode rocktech_rk101ii01d_ct_mode = {
> > >  
> > >  static const struct panel_desc rocktech_rk101ii01d_ct = {
> > >  	.modes = &rocktech_rk101ii01d_ct_mode,
> > > +	.bpc = 8,
> > >  	.num_modes = 1,
> > >  	.size = {
> > >  		.width = 217,
> > > -- 
> > > 2.17.1
> > > 

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

* Re: [PATCH] drm/panel: simple: Initialize bpc in RK101II01D-CT panel descriptor
  2022-02-10 14:03 Rahul T R
  2022-02-11  7:58 ` Tomi Valkeinen
@ 2022-02-28  9:36 ` Tomi Valkeinen
  1 sibling, 0 replies; 7+ messages in thread
From: Tomi Valkeinen @ 2022-02-28  9:36 UTC (permalink / raw)
  To: Rahul T R, thierry.reding
  Cc: sam, airlied, daniel, dri-devel, linux-kernel, nikhil.nd,
	laurent.pinchart

On 10/02/2022 16:03, Rahul T R wrote:
> Initialize bpc while creating panel_desc structure for RK101II01D-CT
> 
> Below warning is triggered since bpc is not being initialized
> 
> WARNING: CPU: 2 PID: 47 at drivers/gpu/drm/panel/panel-simple.c:614
> panel_simple_probe+0x1b0/0x3c8
> 
> Signed-off-by: Rahul T R <r-ravikumar@ti.com>
> ---
>   drivers/gpu/drm/panel/panel-simple.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index c324a3ed34b9..c09eb5ad65fc 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -3058,6 +3058,7 @@ static const struct drm_display_mode rocktech_rk101ii01d_ct_mode = {
>   
>   static const struct panel_desc rocktech_rk101ii01d_ct = {
>   	.modes = &rocktech_rk101ii01d_ct_mode,
> +	.bpc = 8,
>   	.num_modes = 1,
>   	.size = {
>   		.width = 217,

Thanks, looks good to me. I'll apply to drm-misc-next.

  Tomi

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

* Re: [PATCH] drm/panel: simple: Initialize bpc in RK101II01D-CT panel descriptor
  2022-02-10 14:03 Rahul T R
@ 2022-02-11  7:58 ` Tomi Valkeinen
  2022-02-28  9:36 ` Tomi Valkeinen
  1 sibling, 0 replies; 7+ messages in thread
From: Tomi Valkeinen @ 2022-02-11  7:58 UTC (permalink / raw)
  To: Rahul T R, thierry.reding
  Cc: sam, airlied, daniel, dri-devel, linux-kernel, nikhil.nd,
	laurent.pinchart

On 10/02/2022 16:03, Rahul T R wrote:
> Initialize bpc while creating panel_desc structure for RK101II01D-CT
> 
> Below warning is triggered since bpc is not being initialized
> 
> WARNING: CPU: 2 PID: 47 at drivers/gpu/drm/panel/panel-simple.c:614
> panel_simple_probe+0x1b0/0x3c8
> 
> Signed-off-by: Rahul T R <r-ravikumar@ti.com>
> ---
>   drivers/gpu/drm/panel/panel-simple.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index c324a3ed34b9..c09eb5ad65fc 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -3058,6 +3058,7 @@ static const struct drm_display_mode rocktech_rk101ii01d_ct_mode = {
>   
>   static const struct panel_desc rocktech_rk101ii01d_ct = {
>   	.modes = &rocktech_rk101ii01d_ct_mode,
> +	.bpc = 8,
>   	.num_modes = 1,
>   	.size = {
>   		.width = 217,

Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>

  Tomi

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

* [PATCH] drm/panel: simple: Initialize bpc in RK101II01D-CT panel descriptor
@ 2022-02-10 14:03 Rahul T R
  2022-02-11  7:58 ` Tomi Valkeinen
  2022-02-28  9:36 ` Tomi Valkeinen
  0 siblings, 2 replies; 7+ messages in thread
From: Rahul T R @ 2022-02-10 14:03 UTC (permalink / raw)
  To: thierry.reding
  Cc: sam, airlied, daniel, dri-devel, linux-kernel, nikhil.nd,
	tomi.valkeinen, laurent.pinchart, Rahul T R

Initialize bpc while creating panel_desc structure for RK101II01D-CT

Below warning is triggered since bpc is not being initialized

WARNING: CPU: 2 PID: 47 at drivers/gpu/drm/panel/panel-simple.c:614
panel_simple_probe+0x1b0/0x3c8

Signed-off-by: Rahul T R <r-ravikumar@ti.com>
---
 drivers/gpu/drm/panel/panel-simple.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index c324a3ed34b9..c09eb5ad65fc 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -3058,6 +3058,7 @@ static const struct drm_display_mode rocktech_rk101ii01d_ct_mode = {
 
 static const struct panel_desc rocktech_rk101ii01d_ct = {
 	.modes = &rocktech_rk101ii01d_ct_mode,
+	.bpc = 8,
 	.num_modes = 1,
 	.size = {
 		.width = 217,
-- 
2.17.1


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

end of thread, other threads:[~2022-02-28  9:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-28 11:52 [PATCH] drm/panel: simple: Initialize bpc in RK101II01D-CT panel descriptor Rahul T R
2021-11-08 16:33 ` Rahul T R
2021-11-11 12:07   ` Rahul T R
2022-01-27 16:25     ` Rahul T R
2022-02-10 14:03 Rahul T R
2022-02-11  7:58 ` Tomi Valkeinen
2022-02-28  9:36 ` Tomi Valkeinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).