diff options
-rw-r--r-- | drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c b/drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c index a23744c..91b25fb 100644 --- a/drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c +++ b/drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c @@ -348,10 +348,14 @@ static void s6e8aa0_elvss_nvm_set_v142(struct s6e8aa0 *ctx) static void s6e8aa0_elvss_nvm_set(struct s6e8aa0 *ctx) { - if (ctx->version < 142) + if (ctx->version == 32) s6e8aa0_dcs_write_seq_static(ctx, 0xd9, 0x14, 0x40, 0x0c, 0xcb, 0xce, 0x6e, 0xc4, 0x07, 0x40, 0x41, 0xc1, 0x00, 0x60, 0x19); + else if (ctx->version == 96) + s6e8aa0_dcs_write_seq_static(ctx, + 0xd9, 0x14, 0x40, 0x0c, 0xcb, 0xce, 0x6e, 0xc4, 0x07, + 0xc0, 0x41, 0xc1, 0x00, 0x60, 0x19); else s6e8aa0_elvss_nvm_set_v142(ctx); }; |