rpms/xorg-x11-drv-ati/devel radeon-modeset.patch,1.8,1.9
Dave Airlie (airlied)
fedora-extras-commits at redhat.com
Thu Aug 14 06:58:09 UTC 2008
- Previous message (by thread): rpms/mesa/devel r300-cmdbuf.patch, NONE, 1.1 .cvsignore, 1.26, 1.27 mesa-7.1-disable-intel-classic-warn.patch, 1.1, 1.2 mesa-7.1-link-shared.patch, 1.2, 1.3 mesa.spec, 1.186, 1.187 sources, 1.26, 1.27 disable-tex-offset.patch, 1.1, NONE
- Next message (by thread): rpms/gcc/devel gcc43-pr37103.patch,NONE,1.1 gcc43.spec,1.37,1.38
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: airlied
Update of /cvs/pkgs/rpms/xorg-x11-drv-ati/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15744
Modified Files:
radeon-modeset.patch
Log Message:
* Thu Aug 14 2008 Dave Airlie <airlied at redhat.com> 6.9.0-3
- bring back modesetting
radeon-modeset.patch:
Index: radeon-modeset.patch
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-ati/devel/radeon-modeset.patch,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- radeon-modeset.patch 14 Aug 2008 06:02:35 -0000 1.8
+++ radeon-modeset.patch 14 Aug 2008 06:57:39 -0000 1.9
@@ -4170,10 +4170,10 @@
}
diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c
-index 56de23e..b923c8d 100644
+index 56de23e..51b792e 100644
--- a/src/radeon_exa_funcs.c
+++ b/src/radeon_exa_funcs.c
-@@ -74,21 +74,78 @@ FUNC_NAME(RADEONSync)(ScreenPtr pScreen, int marker)
+@@ -74,21 +74,69 @@ FUNC_NAME(RADEONSync)(ScreenPtr pScreen, int marker)
ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
RADEONInfoPtr info = RADEONPTR(pScrn);
@@ -4206,17 +4206,8 @@
+
+ qwords = info->new_cs ? 11 : 9;
+ qwords += (has_src ? (info->new_cs ? 3 : 1) : 0);
-+ qwords += (info->ChipFamily <= CHIP_FAMILY_RV280 ? 3 : 2);
+
+ BEGIN_ACCEL(qwords);
-+ if (info->ChipFamily <= CHIP_FAMILY_RV280) {
-+ OUT_ACCEL_REG(RADEON_RE_TOP_LEFT, info->re_top_left);
-+ OUT_ACCEL_REG(RADEON_RE_WIDTH_HEIGHT, info->re_width_height);
-+ OUT_ACCEL_REG(RADEON_AUX_SC_CNTL, info->aux_sc_cntl);
-+ } else {
-+ OUT_ACCEL_REG(R300_SC_SCISSOR0, info->re_top_left);
-+ OUT_ACCEL_REG(R300_SC_SCISSOR1, info->re_width_height);
-+ }
+ OUT_ACCEL_REG(RADEON_DEFAULT_SC_BOTTOM_RIGHT, info->state_2d.default_sc_bottom_right);
+ OUT_ACCEL_REG(RADEON_DP_GUI_MASTER_CNTL, info->state_2d.dp_gui_master_cntl);
+ OUT_ACCEL_REG(RADEON_DP_BRUSH_FRGD_CLR, info->state_2d.dp_brush_frgd_clr);
@@ -4253,7 +4244,7 @@
ACCEL_PREAMBLE();
TRACE;
-@@ -97,25 +154,35 @@ FUNC_NAME(RADEONPrepareSolid)(PixmapPtr pPix, int alu, Pixel pm, Pixel fg)
+@@ -97,25 +145,35 @@ FUNC_NAME(RADEONPrepareSolid)(PixmapPtr pPix, int alu, Pixel pm, Pixel fg)
RADEON_FALLBACK(("24bpp unsupported\n"));
if (!RADEONGetDatatypeBpp(pPix->drawable.bitsPerPixel, &datatype))
RADEON_FALLBACK(("RADEONGetDatatypeBpp failed\n"));
@@ -4304,7 +4295,7 @@
return TRUE;
}
-@@ -148,8 +215,10 @@ FUNC_NAME(RADEONDoneSolid)(PixmapPtr pPix)
+@@ -148,8 +206,10 @@ FUNC_NAME(RADEONDoneSolid)(PixmapPtr pPix)
OUT_ACCEL_REG(RADEON_WAIT_UNTIL,
RADEON_WAIT_2D_IDLECLEAN | RADEON_WAIT_DMA_GUI_IDLE);
FINISH_ACCEL();
@@ -4315,7 +4306,7 @@
void
FUNC_NAME(RADEONDoPrepareCopy)(ScrnInfoPtr pScrn, uint32_t src_pitch_offset,
uint32_t dst_pitch_offset, uint32_t datatype, int rop,
-@@ -160,23 +229,28 @@ FUNC_NAME(RADEONDoPrepareCopy)(ScrnInfoPtr pScrn, uint32_t src_pitch_offset,
+@@ -160,23 +220,28 @@ FUNC_NAME(RADEONDoPrepareCopy)(ScrnInfoPtr pScrn, uint32_t src_pitch_offset,
RADEON_SWITCH_TO_2D();
@@ -4361,7 +4352,7 @@
}
static Bool
-@@ -187,7 +261,7 @@ FUNC_NAME(RADEONPrepareCopy)(PixmapPtr pSrc, PixmapPtr pDst,
+@@ -187,7 +252,7 @@ FUNC_NAME(RADEONPrepareCopy)(PixmapPtr pSrc, PixmapPtr pDst,
{
RINFO_FROM_SCREEN(pDst->drawable.pScreen);
uint32_t datatype, src_pitch_offset, dst_pitch_offset;
@@ -4370,7 +4361,7 @@
TRACE;
info->xdir = xdir;
-@@ -197,10 +271,19 @@ FUNC_NAME(RADEONPrepareCopy)(PixmapPtr pSrc, PixmapPtr pDst,
+@@ -197,10 +262,19 @@ FUNC_NAME(RADEONPrepareCopy)(PixmapPtr pSrc, PixmapPtr pDst,
RADEON_FALLBACK(("24bpp unsupported"));
if (!RADEONGetDatatypeBpp(pDst->drawable.bitsPerPixel, &datatype))
RADEON_FALLBACK(("RADEONGetDatatypeBpp failed\n"));
@@ -4392,7 +4383,7 @@
FUNC_NAME(RADEONDoPrepareCopy)(pScrn, src_pitch_offset, dst_pitch_offset,
datatype, rop, planemask);
-@@ -250,6 +333,8 @@ FUNC_NAME(RADEONDoneCopy)(PixmapPtr pDst)
+@@ -250,6 +324,8 @@ FUNC_NAME(RADEONDoneCopy)(PixmapPtr pDst)
OUT_ACCEL_REG(RADEON_WAIT_UNTIL,
RADEON_WAIT_2D_IDLECLEAN | RADEON_WAIT_DMA_GUI_IDLE);
FINISH_ACCEL();
@@ -4401,7 +4392,7 @@
}
static Bool
-@@ -276,10 +361,19 @@ FUNC_NAME(RADEONUploadToScreen)(PixmapPtr pDst, int x, int y, int w, int h,
+@@ -276,10 +352,19 @@ FUNC_NAME(RADEONUploadToScreen)(PixmapPtr pDst, int x, int y, int w, int h,
if (bpp < 8)
return FALSE;
@@ -4424,7 +4415,7 @@
int cpp = bpp / 8;
ACCEL_PREAMBLE();
-@@ -294,9 +388,10 @@ FUNC_NAME(RADEONUploadToScreen)(PixmapPtr pDst, int x, int y, int w, int h,
+@@ -294,9 +379,10 @@ FUNC_NAME(RADEONUploadToScreen)(PixmapPtr pDst, int x, int y, int w, int h,
exaMarkSync(pDst->drawable.pScreen);
return TRUE;
@@ -4437,7 +4428,7 @@
/* Do we need that sync here ? probably not .... */
exaWaitSync(pDst->drawable.pScreen);
-@@ -388,13 +483,17 @@ FUNC_NAME(RADEONDownloadFromScreen)(PixmapPtr pSrc, int x, int y, int w, int h,
+@@ -388,13 +474,17 @@ FUNC_NAME(RADEONDownloadFromScreen)(PixmapPtr pSrc, int x, int y, int w, int h,
TRACE;
@@ -4456,7 +4447,7 @@
RADEONGetPixmapOffsetPitch(pSrc, &src_pitch_offset) &&
(scratch = RADEONCPGetBuffer(pScrn)))
{
-@@ -540,17 +639,23 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr pScreen)
+@@ -540,17 +630,23 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr pScreen)
info->exa->MarkSync = FUNC_NAME(RADEONMarkSync);
info->exa->WaitMarker = FUNC_NAME(RADEONSync);
@@ -4485,7 +4476,7 @@
#ifdef RENDER
if (info->RenderAccel) {
-@@ -560,7 +665,7 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr pScreen)
+@@ -560,7 +656,7 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr pScreen)
else if (IS_R300_3D || IS_R500_3D) {
if ((info->ChipFamily < CHIP_FAMILY_RS400)
#ifdef XF86DRI
@@ -4494,7 +4485,7 @@
#endif
) {
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Render acceleration "
-@@ -595,6 +700,16 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr pScreen)
+@@ -595,6 +691,16 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr pScreen)
}
#endif
- Previous message (by thread): rpms/mesa/devel r300-cmdbuf.patch, NONE, 1.1 .cvsignore, 1.26, 1.27 mesa-7.1-disable-intel-classic-warn.patch, 1.1, 1.2 mesa-7.1-link-shared.patch, 1.2, 1.3 mesa.spec, 1.186, 1.187 sources, 1.26, 1.27 disable-tex-offset.patch, 1.1, NONE
- Next message (by thread): rpms/gcc/devel gcc43-pr37103.patch,NONE,1.1 gcc43.spec,1.37,1.38
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list