summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/drm/bridge/samsung-dsim.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drm/bridge/samsung-dsim.h b/include/drm/bridge/samsung-dsim.h
index be8b4913aa9c..d644bb2f9e87 100644
--- a/include/drm/bridge/samsung-dsim.h
+++ b/include/drm/bridge/samsung-dsim.h
@@ -6,6 +6,7 @@ struct drm_encoder;
struct samsung_dsim;
struct platform_device;
struct mipi_dsi_device;
+struct drm_display_mode;
enum exynos_reg_offset {
EXYNOS_REG_OFS,
@@ -45,6 +46,9 @@ enum reg_value_idx {
struct samsung_dsim_host_ops {
int (*attach)(struct device *dev, struct mipi_dsi_device *device);
int (*detach)(struct device *dev, struct mipi_dsi_device *device);
+ bool (*mode_fixup)(struct device *dev,
+ const struct drm_display_mode *mode,
+ struct drm_display_mode *adjusted_mode);
void (*te_handler)(struct device *dev);
};