diff options
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | 2007-10-16 04:29:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:20 -0400 |
commit | 71a27fecaf836093a30fe538c5ab98ef0b25bfc8 (patch) | |
tree | 52addb93c5c7100609807633cec834d0c3e3ac1f /include/asm-powerpc/ps3av.h | |
parent | eea820ab0b189d74620dca376817a2e599eb1ab1 (diff) |
ps3av: use PS3 video mode ids in autodetect code
It doesn't make much sense to use the PS3AV_CMD_VIDEO_VID_* values in the
autodetection code, just to convert them to PS3 video mode ids afterwards.
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-powerpc/ps3av.h')
-rw-r--r-- | include/asm-powerpc/ps3av.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/asm-powerpc/ps3av.h b/include/asm-powerpc/ps3av.h index 4ac93a2a62ed..c023c5df90db 100644 --- a/include/asm-powerpc/ps3av.h +++ b/include/asm-powerpc/ps3av.h | |||
@@ -300,11 +300,12 @@ | |||
300 | 300 | ||
301 | #define PS3AV_MONITOR_TYPE_HDMI 1 /* HDMI */ | 301 | #define PS3AV_MONITOR_TYPE_HDMI 1 /* HDMI */ |
302 | #define PS3AV_MONITOR_TYPE_DVI 2 /* DVI */ | 302 | #define PS3AV_MONITOR_TYPE_DVI 2 /* DVI */ |
303 | #define PS3AV_DEFAULT_HDMI_VID_REG_60 PS3AV_CMD_VIDEO_VID_480P | 303 | |
304 | #define PS3AV_DEFAULT_AVMULTI_VID_REG_60 PS3AV_CMD_VIDEO_VID_480I | 304 | #define PS3AV_DEFAULT_HDMI_MODE_ID_REG_60 2 /* 480p */ |
305 | #define PS3AV_DEFAULT_HDMI_VID_REG_50 PS3AV_CMD_VIDEO_VID_576P | 305 | #define PS3AV_DEFAULT_AVMULTI_MODE_ID_REG_60 1 /* 480i */ |
306 | #define PS3AV_DEFAULT_AVMULTI_VID_REG_50 PS3AV_CMD_VIDEO_VID_576I | 306 | #define PS3AV_DEFAULT_HDMI_MODE_ID_REG_50 7 /* 576p */ |
307 | #define PS3AV_DEFAULT_DVI_VID PS3AV_CMD_VIDEO_VID_480P | 307 | #define PS3AV_DEFAULT_AVMULTI_MODE_ID_REG_50 6 /* 576i */ |
308 | #define PS3AV_DEFAULT_DVI_MODE_ID 2 /* 480p */ | ||
308 | 309 | ||
309 | #define PS3AV_REGION_60 0x01 | 310 | #define PS3AV_REGION_60 0x01 |
310 | #define PS3AV_REGION_50 0x02 | 311 | #define PS3AV_REGION_50 0x02 |