Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion arch/arm64/configs/qcom_module_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1420,10 +1420,11 @@ CONFIG_DRM_MSM=y
CONFIG_DRM_PANEL_BOE_TV101WUM_NL6=m
CONFIG_DRM_PANEL_LVDS=m
CONFIG_DRM_PANEL_ILITEK_ILI9882T=m
CONFIG_DRM_PANEL_JADARD_JD9365DA_H3=m
CONFIG_DRM_PANEL_KHADAS_TS050=m
CONFIG_DRM_PANEL_MANTIX_MLAF057WE51=m
CONFIG_DRM_PANEL_NOVATEK_NT36672E=m
CONFIG_DRM_PANEL_ORISETECH_OTA7290B=y
CONFIG_DRM_PANEL_ORISETECH_OTA7290B=m
CONFIG_DRM_PANEL_RAYDIUM_RM67191=m
CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20=m
CONFIG_DRM_PANEL_SITRONIX_ST7703=m
Expand Down
20 changes: 16 additions & 4 deletions drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,21 @@ static int jadard_disable(struct drm_panel *panel)
return dsi_ctx.accum_err;
}

static int jadard_enable(struct drm_panel *panel)
{
struct jadard *jadard = panel_to_jadard(panel);
int ret;

msleep(10);

ret = jadard->desc->init(jadard);
if (ret)
return ret;

return 0;
}


static int jadard_prepare(struct drm_panel *panel)
{
struct jadard *jadard = panel_to_jadard(panel);
Expand Down Expand Up @@ -118,10 +133,6 @@ static int jadard_prepare(struct drm_panel *panel)
gpiod_set_value(jadard->reset, 0);
msleep(130);

ret = jadard->desc->init(jadard);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为什么要拆到enable里面?看上去没有必要:lsj123lsjlsj@97d1f44

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

经验证amlogic平台也需要此修改

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lsj123lsjlsj 要不试试直接revert?

Copy link
Member

@CodeChenL CodeChenL Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已测试光是git revert 97d1f449c359207b2fb5bc62eaefb7e21ad619ae还是无法点亮的

if (ret)
return ret;

return 0;
}

Expand Down Expand Up @@ -179,6 +190,7 @@ static const struct drm_panel_funcs jadard_funcs = {
.disable = jadard_disable,
.unprepare = jadard_unprepare,
.prepare = jadard_prepare,
.enable = jadard_enable,
.get_modes = jadard_get_modes,
.get_orientation = jadard_panel_get_orientation,
};
Expand Down