summaryrefslogtreecommitdiffstats
path: root/drivers/radeon/radeon_vid.c
diff options
context:
space:
mode:
authornick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-14 16:48:36 +0000
committernick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-14 16:48:36 +0000
commit1a0cb72e796111cadb83cc17050381417f0712dc (patch)
tree148779ab705e91e7cdf8e1d823e49da743da7cd2 /drivers/radeon/radeon_vid.c
parent7d843104064aee4e46de0cdd50ac0a62b7f596fe (diff)
downloadmpv-1a0cb72e796111cadb83cc17050381417f0712dc.tar.bz2
mpv-1a0cb72e796111cadb83cc17050381417f0712dc.tar.xz
Tuned some values:
- OV0_BASE_ADDR exists only on Radeons - hacked OV0_FILTER_CNTL values - extpanded IDCT stuff by MC (probably) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3488 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'drivers/radeon/radeon_vid.c')
-rw-r--r--drivers/radeon/radeon_vid.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/radeon/radeon_vid.c b/drivers/radeon/radeon_vid.c
index b8f61ab07c..cfa46643eb 100644
--- a/drivers/radeon/radeon_vid.c
+++ b/drivers/radeon/radeon_vid.c
@@ -200,7 +200,9 @@ static video_registers_t vregs[] =
DECLARE_VREG(OV0_P23_V_ACCUM_INIT),
DECLARE_VREG(OV0_P1_BLANK_LINES_AT_TOP),
DECLARE_VREG(OV0_P23_BLANK_LINES_AT_TOP),
+#ifdef RADEON
DECLARE_VREG(OV0_BASE_ADDR),
+#endif
DECLARE_VREG(OV0_VID_BUF0_BASE_ADRS),
DECLARE_VREG(OV0_VID_BUF1_BASE_ADRS),
DECLARE_VREG(OV0_VID_BUF2_BASE_ADRS),
@@ -398,7 +400,7 @@ static void radeon_vid_stop_video( void )
OUTREG(OV0_SCALE_CNTL, SCALER_SOFT_RESET);
OUTREG(OV0_EXCLUSIVE_HORZ, 0);
OUTREG(OV0_AUTO_FLIP_CNTL, 0); /* maybe */
- OUTREG(OV0_FILTER_CNTL, 0x0000000f);
+ OUTREG(OV0_FILTER_CNTL, FILTER_HARDCODED_COEF);
OUTREG(OV0_KEY_CNTL, GRAPHIC_KEY_FN_NE);
OUTREG(OV0_TEST, 0);
}
@@ -444,7 +446,7 @@ static void radeon_vid_display_video( void )
OUTREG(OV0_P1_X_START_END, besr.p1_x_start_end);
OUTREG(OV0_P2_X_START_END, besr.p2_x_start_end);
OUTREG(OV0_P3_X_START_END, besr.p3_x_start_end);
-#if 0
+#ifdef RADEON
OUTREG(OV0_BASE_ADDR, besr.base_addr);
#endif
OUTREG(OV0_VID_BUF0_BASE_ADRS, besr.vid_buf0_base_adrs);