diff options
author | Ilan Aelion <iaelion@nvidia.com> | 2012-08-10 13:53:10 -0600 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-08-16 11:02:18 -0700 |
commit | aa0cae6ab52a7fc278ee3cc29d56cc4daa807004 (patch) | |
tree | 6ddb563481c62ac85907faf2e6b9a4216bf3a042 /arch/arm/mach-tegra/include | |
parent | 833e152507b2351ae71de1a2b224745f550f8f7e (diff) |
video: tegra: dc: disuse notifier
Due to issues with rcu notifiers on secureos, modifying dc flip
notifications to use a simple callback instead.
Bug 1028850
Change-Id: Iebf2a6d64d7316e3df2b88444201f9f9a29698c5
Signed-off-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-on: http://git-master/r/123103
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/include')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/dc.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/include/mach/dc.h b/arch/arm/mach-tegra/include/mach/dc.h index 47210c1cd87b..b60a913ff083 100644 --- a/arch/arm/mach-tegra/include/mach/dc.h +++ b/arch/arm/mach-tegra/include/mach/dc.h @@ -25,7 +25,6 @@ #include <linux/pm.h> #include <linux/types.h> #include <drm/drm_fixed.h> -#include <linux/notifier.h> #define TEGRA_MAX_DC 2 #define DC_N_WINDOWS 3 @@ -585,8 +584,8 @@ struct tegra_dc_edid { struct tegra_dc_edid *tegra_dc_get_edid(struct tegra_dc *dc); void tegra_dc_put_edid(struct tegra_dc_edid *edid); -int tegra_dc_register_flip_notifier(struct notifier_block *nb); -int tegra_dc_unregister_flip_notifier(struct notifier_block *nb); +int tegra_dc_set_flip_callback(void (*callback)(void)); +int tegra_dc_unset_flip_callback(void); int tegra_dc_get_panel_sync_rate(void); #endif |