ports/128070: x11-drivers/xf86-video-radeonhd: update to 1.2.3

Rene Ladan r.c.ladan at gmail.com
Mon Oct 13 21:40:05 UTC 2008


The following reply was made to PR ports/128070; it has been noted by GNATS.

From: Rene Ladan <r.c.ladan at gmail.com>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: ports/128070: x11-drivers/xf86-video-radeonhd: update to 1.2.3
Date: Mon, 13 Oct 2008 23:08:16 +0200

 This is a multi-part message in MIME format.
 --------------070304070008060802000507
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Attached is a patch which is required to fix the build
 on big endian machines.  It also adds a card id.
 
 Can this be placed in the files/ directory?
 
 --------------070304070008060802000507
 Content-Type: text/x-patch;
  name="fix-1.2.3.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="fix-1.2.3.patch"
 
 diff --git a/man/radeonhd.man b/man/radeonhd.man
 index 7b2a2b2..fbd3613 100644
 --- a/man/radeonhd.man
 +++ b/man/radeonhd.man
 @@ -623,5 +623,5 @@ Query the bugtracker for radeonhd bugs
  .\"
  .\"
  .SH AUTHORS
 -Egbert Eich, Luc Verhaegen, Matthias Hopf, Hans Ulrich Niedermann, and others.
 +Egbert Eich, Luc Verhaegen, Matthias Hopf, Hans Ulrich Niedermann, Alexander Deucher, and others.
  .\" vim: syntax=nroff
 diff --git a/src/rhd_id.c b/src/rhd_id.c
 index dac3d9b..54495ce 100644
 --- a/src/rhd_id.c
 +++ b/src/rhd_id.c
 @@ -644,6 +644,7 @@ rhdCards[] =
      /* 0x71C1 : RV535 : Radeon X1650 */
      { 0x71C1, 0x174B, 0x0840, "Sapphire X1650 Pro", RHD_CARD_FLAG_NONE, DVI_AA00_DVI_BB11, DEVINFO_EMPTY },
      /* 0x71C2 : RV530 : Radeon X1600 */
 +    { 0x71C2, 0x1458, 0x2146, "Gigabyte GV-RX16P256DE-RH", RHD_CARD_FLAG_HPDSWAP, ID_CONNECTORINFO_EMPTY, DEVINFO_EMPTY },
      { 0x71C2, 0x17EE, 0x71C0, "Connect3D Radeon X1600 Pro", RHD_CARD_FLAG_NONE, VGA_B1_DVI_AA00, DEVINFO_EMPTY },
      /* 0x71C3 : RV535 : Radeon X1600 */
      /* 0x71C4 : M56 : Mobility FireGL V5200 */
 diff --git a/src/rhd_video.c b/src/rhd_video.c
 index 2f953ad..3a20138 100644
 --- a/src/rhd_video.c
 +++ b/src/rhd_video.c
 @@ -497,8 +497,8 @@ R5xxXvCopyPlanar(RHDPtr rhdPtr, CARD8 *src1, CARD8 *src2, CARD8 *src3,
  		 CARD16 dstPitch, CARD16 h, CARD16 w)
  {
  #if X_BYTE_ORDER == X_BIG_ENDIAN
 -    CARD32 val = RHDRegRead(pScrn, R5XX_SURFACE_CNTL);
 -    RHDRegWrite(pScrn, R5XX_SURFACE_CNTL,
 +    CARD32 val = RHDRegRead(rhdPtr, R5XX_SURFACE_CNTL);
 +    RHDRegWrite(rhdPtr, R5XX_SURFACE_CNTL,
  		(val | R5XX_NONSURF_AP0_SWP_32BPP) & ~R5XX_NONSURF_AP0_SWP_16BPP);
  #endif
  
 @@ -507,7 +507,7 @@ R5xxXvCopyPlanar(RHDPtr rhdPtr, CARD8 *src1, CARD8 *src2, CARD8 *src3,
  
  #if X_BYTE_ORDER == X_BIG_ENDIAN
      /* restore byte swapping */
 -    RHDRegWrite(pScrn, R5XX_SURFACE_CNTL, val);
 +    RHDRegWrite(rhdPtr, R5XX_SURFACE_CNTL, val);
  #endif
  }
  
 
 --------------070304070008060802000507--


More information about the freebsd-x11 mailing list