Index: head/x11-drivers/Makefile =================================================================== --- head/x11-drivers/Makefile (revision 369875) +++ head/x11-drivers/Makefile (revision 369876) @@ -1,55 +1,56 @@ # $FreeBSD$ # COMMENT = X11 drivers SUBDIR += xf86-input-acecad SUBDIR += xf86-input-egalax SUBDIR += xf86-input-elographics SUBDIR += xf86-input-fpit SUBDIR += xf86-input-hyperpen SUBDIR += xf86-input-joystick SUBDIR += xf86-input-keyboard SUBDIR += xf86-input-mouse SUBDIR += xf86-input-mutouch SUBDIR += xf86-input-penmount SUBDIR += xf86-input-synaptics SUBDIR += xf86-input-vmmouse SUBDIR += xf86-input-wacom SUBDIR += xf86-input-void SUBDIR += xf86-video-apm SUBDIR += xf86-video-ark SUBDIR += xf86-video-ati + SUBDIR += xf86-video-ati-ums SUBDIR += xf86-video-chips SUBDIR += xf86-video-cirrus SUBDIR += xf86-video-dummy SUBDIR += xf86-video-fbdev SUBDIR += xf86-video-glint SUBDIR += xf86-video-i128 SUBDIR += xf86-video-i740 SUBDIR += xf86-video-intel SUBDIR += xf86-video-mach64 SUBDIR += xf86-video-mga SUBDIR += xf86-video-neomagic SUBDIR += xf86-video-newport SUBDIR += xf86-video-nv SUBDIR += xf86-video-openchrome SUBDIR += xf86-video-r128 SUBDIR += xf86-video-rendition SUBDIR += xf86-video-s3 SUBDIR += xf86-video-s3virge SUBDIR += xf86-video-savage SUBDIR += xf86-video-scfb SUBDIR += xf86-video-siliconmotion SUBDIR += xf86-video-sis SUBDIR += xf86-video-sunffb SUBDIR += xf86-video-tdfx SUBDIR += xf86-video-tga SUBDIR += xf86-video-trident SUBDIR += xf86-video-tseng SUBDIR += xf86-video-vesa SUBDIR += xf86-video-vmware SUBDIR += xf86-video-voodoo SUBDIR += xorg-drivers .include Index: head/x11-drivers/xf86-video-ati-ums/Makefile =================================================================== --- head/x11-drivers/xf86-video-ati-ums/Makefile (nonexistent) +++ head/x11-drivers/xf86-video-ati-ums/Makefile (revision 369876) @@ -0,0 +1,18 @@ +# $FreeBSD$ + +PORTNAME= xf86-video-ati +PORTVERSION= 6.14.6 +PORTREVISION= 4 +CATEGORIES= x11-drivers + +MAINTAINER= x11@FreeBSD.org +COMMENT= X.Org ati display driver + +USE_GL= gl +XORG_CAT= driver +USE_XORG= xf86driproto xineramaproto xf86miscproto glproto + +CONFIGURE_ARGS+=--disable-kms +INSTALL_TARGET= install-strip + +.include Property changes on: head/x11-drivers/xf86-video-ati-ums/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-drivers/xf86-video-ati-ums/distinfo =================================================================== --- head/x11-drivers/xf86-video-ati-ums/distinfo (nonexistent) +++ head/x11-drivers/xf86-video-ati-ums/distinfo (revision 369876) @@ -0,0 +1,2 @@ +SHA256 (xorg/driver/xf86-video-ati-6.14.6.tar.bz2) = aa5286b3e4f0187d7df14785c06dd800255d9405205dbf061da5d77df86bec36 +SIZE (xorg/driver/xf86-video-ati-6.14.6.tar.bz2) = 1139495 Property changes on: head/x11-drivers/xf86-video-ati-ums/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-drivers/xf86-video-ati-ums/pkg-plist =================================================================== --- head/x11-drivers/xf86-video-ati-ums/pkg-plist (nonexistent) +++ head/x11-drivers/xf86-video-ati-ums/pkg-plist (revision 369876) @@ -0,0 +1,7 @@ +lib/xorg/modules/drivers/ati_drv.so +lib/xorg/modules/drivers/radeon_drv.so +lib/xorg/modules/multimedia/theatre200_drv.so +lib/xorg/modules/multimedia/theatre_detect_drv.so +lib/xorg/modules/multimedia/theatre_drv.so +man/man4/ati.4x.gz +man/man4/radeon.4x.gz Property changes on: head/x11-drivers/xf86-video-ati-ums/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-drivers/xf86-video-ati-ums/files/extra-src__radeon_kms.c =================================================================== --- head/x11-drivers/xf86-video-ati-ums/files/extra-src__radeon_kms.c (nonexistent) +++ head/x11-drivers/xf86-video-ati-ums/files/extra-src__radeon_kms.c (revision 369876) @@ -0,0 +1,37 @@ +--- src/radeon_kms.c.orig 2013-08-07 10:44:09.000000000 +0200 ++++ src/radeon_kms.c 2013-08-31 19:29:11.369001510 +0200 +@@ -30,6 +30,8 @@ + + #include + #include ++#include ++#include + /* Driver data structures */ + #include "radeon.h" + #include "radeon_reg.h" +@@ -270,7 +272,7 @@ + radeon_dirty_update(ScreenPtr screen) + { + RegionPtr region; +- PixmapDirtyUpdatePtr ent; ++ PixmapDirtyUpdatePtr ent = NULL; + + if (xorg_list_is_empty(&screen->pixmap_dirty_list)) + return; +@@ -606,6 +608,16 @@ + dev->domain, dev->bus, dev->dev, dev->func); + #endif + ++ err = kldload("radeonkms"); ++ if (err == -1 && errno != EEXIST) { ++ ++ xf86DrvMsg(pScrn->scrnIndex, X_ERROR, ++ "[drm] Failed to load kernel module for %s: %s\n", ++ busid, strerror(errno)); ++ free(busid); ++ return FALSE; ++ } ++ + info->dri2.drm_fd = drmOpen("radeon", busid); + if (info->dri2.drm_fd == -1) { + Property changes on: head/x11-drivers/xf86-video-ati-ums/files/extra-src__radeon_kms.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-drivers/xf86-video-ati-ums/files/patch-src_radeon_accel.c =================================================================== --- head/x11-drivers/xf86-video-ati-ums/files/patch-src_radeon_accel.c (nonexistent) +++ head/x11-drivers/xf86-video-ati-ums/files/patch-src_radeon_accel.c (revision 369876) @@ -0,0 +1,15 @@ +--- src/radeon_accel.c.orig 2012-06-25 10:19:41.000000000 +0200 ++++ src/radeon_accel.c 2012-07-30 02:11:51.000000000 +0200 +@@ -967,10 +967,9 @@ + + for (; nwords > 0; --nwords, ++d, ++s) + #ifdef __powerpc__ +- asm volatile("stwbrx %0,0,%1" : : "r" (*s), "r" (d)); ++ asm volatile("sthbrx %0,0,%1" : : "r" (*s), "r" (d)); + #else +- *d = ((*s >> 24) & 0xff) | ((*s >> 8) & 0xff00) +- | ((*s & 0xff00) << 8) | ((*s & 0xff) << 24); ++ *d = (*s >> 8) | (*s << 8); + #endif + return; + } Property changes on: head/x11-drivers/xf86-video-ati-ums/files/patch-src_radeon_accel.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-drivers/xf86-video-ati-ums/files/patch-src__radeon_dri2.c =================================================================== --- head/x11-drivers/xf86-video-ati-ums/files/patch-src__radeon_dri2.c (nonexistent) +++ head/x11-drivers/xf86-video-ati-ums/files/patch-src__radeon_dri2.c (revision 369876) @@ -0,0 +1,11 @@ +--- src/radeon_dri2.c.orig 2013-02-22 19:31:34.000000000 +0000 ++++ src/radeon_dri2.c 2013-02-22 19:31:47.000000000 +0000 +@@ -578,7 +578,7 @@ + radeon_dri2_client_state_changed(CallbackListPtr *ClientStateCallback, pointer data, pointer calldata) + { + DRI2ClientEventsPtr pClientEventsPriv; +- DRI2FrameEventPtr ref; ++ DRI2FrameEventPtr ref = NULL; + NewClientInfoRec *clientinfo = calldata; + ClientPtr pClient = clientinfo->client; + pClientEventsPriv = GetDRI2ClientEvents(pClient); Property changes on: head/x11-drivers/xf86-video-ati-ums/files/patch-src__radeon_dri2.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-drivers/xf86-video-ati-ums/pkg-descr =================================================================== --- head/x11-drivers/xf86-video-ati-ums/pkg-descr (nonexistent) +++ head/x11-drivers/xf86-video-ati-ums/pkg-descr (revision 369876) @@ -0,0 +1 @@ +This package contains the X.Org xf86-video-ati driver. Property changes on: head/x11-drivers/xf86-video-ati-ums/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property