Title: drm/stm: ltdc: fix pinctrl recovery after sleep by dougg3 · Pull Request #17 · STMicroelectronics/linux · GitHub
Open Graph Title: drm/stm: ltdc: fix pinctrl recovery after sleep by dougg3 · Pull Request #17 · STMicroelectronics/linux
X Title: drm/stm: ltdc: fix pinctrl recovery after sleep by dougg3 · Pull Request #17 · STMicroelectronics/linux
Description: I encountered a problem where an RGB TFT LCD panel attached to an STM32MP1 would stop working after the framebuffer was put to sleep and woken back up. The reason was that the sleep pinctrl was applied when the framebuffer went to sleep, but the default pinctrl wasn't being restored after the LTDC woke up. This is because an older commit moved the LTDC default pinctrl configuration to ltdc_encoder_mode_set, which doesn't get called again after it wakes up. This fix was tested in the v5.4-stm32mp branch on a custom STM32MP1 board. I tested by blanking and then unblanking the framebuffer. Before this fix, the LCD display got garbled after unblanking. With this fix, it recovers correctly. echo 1 > /sys/class/graphics/fb0/blank echo 0 > /sys/class/graphics/fb0/blank
Open Graph Description: I encountered a problem where an RGB TFT LCD panel attached to an STM32MP1 would stop working after the framebuffer was put to sleep and woken back up. The reason was that the sleep pinctrl was app...
X Description: I encountered a problem where an RGB TFT LCD panel attached to an STM32MP1 would stop working after the framebuffer was put to sleep and woken back up. The reason was that the sleep pinctrl was app...
Opengraph URL: https://github.com/STMicroelectronics/linux/pull/17
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:864f72af-da5d-473b-6ed2-6db7871f06ee |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D728:37C0D5:368926:45E638:698D1767 |
| html-safe-nonce | 95f4db7b35b1942f4bccc84369f7cc8aaf13f56975ee5e481d0cec29c84df8a1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzI4OjM3QzBENTozNjg5MjY6NDVFNjM4OjY5OEQxNzY3IiwidmlzaXRvcl9pZCI6IjExMTA3MDgzNjc1MjcxNzY3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 73136f8e723088d66a1fb783bc66c375530850ba1487559fc9fe682d445657ca |
| hovercard-subject-tag | pull_request:921402230 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/STMicroelectronics/linux/pull/17/files |
| twitter:image | https://avatars.githubusercontent.com/u/1565758?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1565758?s=400&v=4 |
| og:image:alt | I encountered a problem where an RGB TFT LCD panel attached to an STM32MP1 would stop working after the framebuffer was put to sleep and woken back up. The reason was that the sleep pinctrl was app... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c25395580e1e3bf82d705e0982a1b24255366088720fef945f1493d5e3e67954 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/STMicroelectronics/linux git https://github.com/STMicroelectronics/linux.git |
| octolytics-dimension-user_id | 10744877 |
| octolytics-dimension-user_login | STMicroelectronics |
| octolytics-dimension-repository_id | 168368344 |
| octolytics-dimension-repository_nwo | STMicroelectronics/linux |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 2325298 |
| octolytics-dimension-repository_parent_nwo | torvalds/linux |
| octolytics-dimension-repository_network_root_id | 2325298 |
| octolytics-dimension-repository_network_root_nwo | torvalds/linux |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 94219dcb9c044792ec271fd5b23c73419858bef7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width