Revert "drm/panel: novatek-nt37705: Configure for 10-bit"
10-bit DSC command mode is currently broken (2026-04-21). Keep it for
later given the panel works great also in 8-bit mode.
This reverts commit ea6afb55c1.
This commit is contained in:
parent
93364750fe
commit
5cf18f1558
1 changed files with 3 additions and 3 deletions
|
|
@ -162,7 +162,7 @@ static int nt37705_on(struct nt37705_panel *ctx)
|
||||||
mipi_dsi_dcs_write_seq_multi(&dsi_ctx, 0x03, 0x01);
|
mipi_dsi_dcs_write_seq_multi(&dsi_ctx, 0x03, 0x01);
|
||||||
mipi_dsi_dcs_write_seq_multi(&dsi_ctx, 0x90, 0x03, 0x03);
|
mipi_dsi_dcs_write_seq_multi(&dsi_ctx, 0x90, 0x03, 0x03);
|
||||||
mipi_dsi_dcs_write_seq_multi(&dsi_ctx, 0x91,
|
mipi_dsi_dcs_write_seq_multi(&dsi_ctx, 0x91,
|
||||||
0xab, 0x28, 0x00, 0x0c, 0xd2, 0x00, 0x02,
|
0x89, 0x28, 0x00, 0x0c, 0xd2, 0x00, 0x02,
|
||||||
0x2f, 0x01, 0x18, 0x00, 0x07, 0x09, 0x75,
|
0x2f, 0x01, 0x18, 0x00, 0x07, 0x09, 0x75,
|
||||||
0x08, 0x34, 0x10, 0xf0);
|
0x08, 0x34, 0x10, 0xf0);
|
||||||
mipi_dsi_dcs_write_seq_multi(&dsi_ctx, 0x2f, 0x02);
|
mipi_dsi_dcs_write_seq_multi(&dsi_ctx, 0x2f, 0x02);
|
||||||
|
|
@ -340,7 +340,7 @@ static int nt37705_probe(struct mipi_dsi_device *dsi)
|
||||||
mipi_dsi_set_drvdata(dsi, ctx);
|
mipi_dsi_set_drvdata(dsi, ctx);
|
||||||
|
|
||||||
dsi->lanes = 4;
|
dsi->lanes = 4;
|
||||||
dsi->format = MIPI_DSI_FMT_RGB101010;
|
dsi->format = MIPI_DSI_FMT_RGB888;
|
||||||
dsi->mode_flags = MIPI_DSI_MODE_NO_EOT_PACKET |
|
dsi->mode_flags = MIPI_DSI_MODE_NO_EOT_PACKET |
|
||||||
MIPI_DSI_CLOCK_NON_CONTINUOUS;
|
MIPI_DSI_CLOCK_NON_CONTINUOUS;
|
||||||
|
|
||||||
|
|
@ -368,7 +368,7 @@ static int nt37705_probe(struct mipi_dsi_device *dsi)
|
||||||
*/
|
*/
|
||||||
WARN_ON(1116 % ctx->dsc.slice_width);
|
WARN_ON(1116 % ctx->dsc.slice_width);
|
||||||
ctx->dsc.slice_count = 1116 / ctx->dsc.slice_width;
|
ctx->dsc.slice_count = 1116 / ctx->dsc.slice_width;
|
||||||
ctx->dsc.bits_per_component = 10;
|
ctx->dsc.bits_per_component = 8;
|
||||||
ctx->dsc.bits_per_pixel = 8 << 4; /* 4 fractional bits */
|
ctx->dsc.bits_per_pixel = 8 << 4; /* 4 fractional bits */
|
||||||
ctx->dsc.block_pred_enable = true;
|
ctx->dsc.block_pred_enable = true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue