hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/drivers/gpu/drm/stm/ltdc.h
....@@ -19,6 +19,7 @@
1919 const u32 *pix_fmt_hw; /* supported pixel formats */
2020 bool non_alpha_only_l1; /* non-native no-alpha formats on layer 1 */
2121 int pad_max_freq_hz; /* max frequency supported by pad */
22
+ int nb_irq; /* number of hardware interrupts */
2223 };
2324
2425 #define LTDC_MAX_LAYER 4
....@@ -36,9 +37,12 @@
3637 u32 error_status;
3738 u32 irq_status;
3839 struct fps_info plane_fpsi[LTDC_MAX_LAYER];
40
+ struct drm_atomic_state *suspend_state;
3941 };
4042
4143 int ltdc_load(struct drm_device *ddev);
4244 void ltdc_unload(struct drm_device *ddev);
45
+void ltdc_suspend(struct drm_device *ddev);
46
+int ltdc_resume(struct drm_device *ddev);
4347
4448 #endif