From b375e9cd653bcc4a0bb382b38c2339a90fdc303a Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Tue, 2 Aug 2011 01:07:10 +0000 Subject: [PATCH] * Program DATA_FORMAT to non-interlaced git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42536 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/accelerants/radeon_hd/mode.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/add-ons/accelerants/radeon_hd/mode.cpp b/src/add-ons/accelerants/radeon_hd/mode.cpp index d26354bb9b..5ded5f08c8 100644 --- a/src/add-ons/accelerants/radeon_hd/mode.cpp +++ b/src/add-ons/accelerants/radeon_hd/mode.cpp @@ -291,6 +291,10 @@ CardModeSet(uint8 crtid, display_mode *mode) Write32Mask(CRT, regs->crtVPolarity, displayTiming.flags & B_POSITIVE_VSYNC ? 0 : 1, 0x1); + // TODO : for now fixed non-interlace + Write32(OUT, D1CRTC_INTERLACE_CONTROL, 0x0); + Write32(OUT, D1MODE_DATA_FORMAT, 0x0); + /* set D1CRTC_HORZ_COUNT_BY2_EN to 0; should only be set to 1 on 30bpp DVI modes */ @@ -319,7 +323,6 @@ CardModeScale(uint8 crtid, display_mode *mode) Write32(CRT, regs->sclEnable, 0); Write32(CRT, regs->sclTapControl, 0); Write32(CRT, regs->modeCenter, 2); - // D1MODE_DATA_FORMAT? }