Skip to content

Commit

Permalink
fix missing dynamic_fps node entry
Browse files Browse the repository at this point in the history
fixed "E SDM : HWPrimary::SetRefreshRate: Failed to open
/sys/devices/virtual/graphics/fb0/dynamic_fps No such file or directory`" error.

Change-Id: Id03a4756d07c7448a465cf0202a6f0542ef596db
  • Loading branch information
ankits1401 authored and zeelog committed Apr 15, 2024
1 parent 4bdd04f commit 7701f55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/video/fbdev/msm/mdss_mdp_overlay.c
Original file line number Diff line number Diff line change
Expand Up @@ -6736,7 +6736,8 @@ int mdss_mdp_overlay_init(struct msm_fb_data_type *mfd)
pr_warn("problem creating link to mdss_fb sysfs\n");

if (mfd->panel_info->type == MIPI_VIDEO_PANEL ||
mfd->panel_info->type == DTV_PANEL) {
mfd->panel_info->type == DTV_PANEL ||
mfd->panel_info->type == MIPI_CMD_PANEL) {
rc = sysfs_create_group(&dev->kobj,
&dynamic_fps_fs_attrs_group);
if (rc) {
Expand Down

0 comments on commit 7701f55

Please sign in to comment.