Skip to contentSkip to conversation

drm/panel: simple: Initialize bpc in RK101II01D-CT panel descriptor

PATCH In review Rahul T R 1 participant 4 messages Oct 28, 2021 – Jan 27, 2022

Subsystems (3)
lore
Share & tools
lore

Rahul T R

author
#0 lore raw

PATCH 1/1 drm/panel: simple: Initialize bpc in RK101II01D-CT panel descriptor

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
---
 drivers/gpu/drm/panel/panel-simple.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/panel/panel-simple.c +1 -0
index dde033066f3d..32f775db5cb7 100644
@@ -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,
Signature · 1 line
2.17.1
author
#1 lore raw

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

Can you please review this patch

Regards
Rahul T R

Quoted 27 lines

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
---
 drivers/gpu/drm/panel/panel-simple.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/panel/panel-simple.c +1 -0
index dde033066f3d..32f775db5cb7 100644
@@ -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,
Signature · 1 line
2.17.1
author
#2 lore raw
Quoted 7 lines · Rahul T R

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

Can you please review this patch

Regards
Rahul T R

ping

Quoted 27 lines
Quoted 27 lines

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
---
 drivers/gpu/drm/panel/panel-simple.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/panel/panel-simple.c +1 -0
index dde033066f3d..32f775db5cb7 100644
@@ -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,
Signature · 1 line
2.17.1
author
#3 lore raw
Quoted 9 lines · Rahul T R
Quoted 7 lines · Rahul T R

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

Can you please review this patch

Regards
Rahul T R

Ping

Quoted 29 lines

ping

Quoted 27 lines
Quoted 27 lines

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
---
 drivers/gpu/drm/panel/panel-simple.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/panel/panel-simple.c +1 -0
index dde033066f3d..32f775db5cb7 100644
@@ -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,
Signature · 1 line
2.17.1