VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Masashi Kimoto <Masashi_Kimoto@hq.scei.sony.co.jp> 2007-05-02 14:48:36 +0200 committer: Linus Torvalds <torvalds@woody.linux-foundation.org> 2007-05-04 17:59:08 -0700 commit: 640729014e073e6e2de1f513b2856b81aa7d84e9 parent: fffe52e86b4ad5f8bdcb284c4ea6c87402967f3d
Commit Summary:
ps3: Make `ps3videomode -v 0 (auto mode) work again
Diffstat:
1 file changed, 6 insertions, 0 deletions
diff --git a/drivers/ps3/ps3av.c b/drivers/ps3/ps3av.c
index 1a56d390fcd9..5a418b1b1659 100644
--- a/drivers/ps3/ps3av.c
+++ b/drivers/ps3/ps3av.c
@@ -744,6 +744,13 @@ int ps3av_set_video_mode(u32 id, int boot)
 
 EXPORT_SYMBOL_GPL(ps3av_set_video_mode);
 
+int ps3av_get_auto_mode(int boot)
+{
+	return ps3av_auto_videomode(&ps3av.av_hw_conf, boot);
+}
+
+EXPORT_SYMBOL_GPL(ps3av_get_auto_mode);
+
 int ps3av_set_mode(u32 id, int boot)
 {
 	int res;