Re: [ANNOUNCE] xorg-server 1.20.0

2018-05-11 Thread Thomas Klausner
On Fri, May 11, 2018 at 03:40:18PM -0700, Matt Turner wrote:
> On Fri, May 11, 2018 at 2:28 PM, Thomas Klausner  wrote:
> > xf86-video-intel-2.99.917:
> >
> > checking whether to include DRI1 support... no
> > configure: error: DRI1 requested but prerequisites not found
> > *** Error code 1
> 
> You probably just want to start using --disable-dri1 here.

Thanks, that lets me progress to a different error:

--- sna_accel.lo ---
sna_accel.c:120:0: warning: "FontSetPrivate" redefined
 #define FontSetPrivate(font, idx, data) xfont2_font_set_private(font, idx, 
data)

In file included from sna_accel.c:40:0:
/scratch/x11/xf86-video-intel/work/.buildlink/include/X11/fonts/fontstruct.h:135:0:
 note: this is the location of the previous definition
 #define FontSetPrivate(pFont,n,ptr) ((n) > (pFont)->maxPrivate ? \

sna_accel.c: In function 'sna_poly_zero_line_blt':
sna_accel.c:9133:11: warning: variable 'intersects' set but not used 
[-Wunused-but-set-variable]
  bool intersects;
   ^~
sna_accel.c:9033:7: warning: variable 'degenerate' set but not used 
[-Wunused-but-set-variable]
  bool degenerate = true;
   ^~
sna_accel.c: In function 'sna_create_gc':
sna_accel.c:16762:4: error: 'struct _GC' has no member named 'pRotatedPixmap'
  gc->pRotatedPixmap = 0;
^~
sna_accel.c: In function 'sna_accel_post_damage':
sna_accel.c:17390:7: warning: assignment from incompatible pointer type 
[-Wincompatible-pointer-types]
   src = dirty->src;
   ^
sna_accel.c: In function 'migrate_dirty_tracking':
sna_accel.c:17637:18: warning: comparison of distinct pointer types lacks a cast
   if (dirty->src != old_front)
  ^~
sna_accel.c:17653:14: warning: assignment from incompatible pointer type 
[-Wincompatible-pointer-types]
   dirty->src = new_front;
  ^

 Thomas
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Re: [ANNOUNCE] xorg-server 1.20.0

2018-05-11 Thread Matt Turner
On Fri, May 11, 2018 at 2:28 PM, Thomas Klausner  wrote:
> xf86-video-intel-2.99.917:
>
> checking whether to include DRI1 support... no
> configure: error: DRI1 requested but prerequisites not found
> *** Error code 1

You probably just want to start using --disable-dri1 here.
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Re: [ANNOUNCE] xorg-server 1.20.0

2018-05-11 Thread Thomas Klausner
On Thu, May 10, 2018 at 12:42:24PM -0400, Adam Jackson wrote:
> Lots of Present, DRI3 modifier, and buildsystem fixes. Thanks to
> everyone who contributed to this release!

I've updated the pkgsrc package, but now lots of drivers don't build.

xf86-video-tseng-1.2.5:

tseng_driver.c: In function 'TsengPreInit':
tseng_driver.c:1041:10: error: 'struct _ScrnInfoRec' has no member named 
'maxHValue'
 pScrn->maxHValue = Tseng_HMAX;
  ^~
tseng_driver.c:1042:10: error: 'struct _ScrnInfoRec' has no member named 
'maxVValue'
 pScrn->maxVValue = Tseng_VMAX;
  ^~
tseng_driver.c:1136:17: error: 'struct _ScrnInfoRec' has no member named 
'maxHValue'
  NULL, 32, pScrn->maxHValue, 8*pTseng->Bytesperpixel, /* H limits */
 ^~
tseng_driver.c:1137:10: error: 'struct _ScrnInfoRec' has no member named 
'maxVValue'
  0, pScrn->maxVValue,/* V limits */
  ^~
tseng_driver.c: In function 'TsengMapMem':
tseng_driver.c:1659:19: warning: pointer targets in assignment differ in 
signedness [-Wpointer-sign]
  pTseng->MMioBase = pTseng->FbBase;
   ^
*** [tseng_driver.lo] Error code 1


xf86-video-sis-0.10.9:

sis_driver.c: In function 'SiSPrintModes':
sis_driver.c:2741:39: error: 'struct _ScrnInfoRec' has no member named 
'virtualFrom'; did you mean 'virtualX'?
 xf86DrvMsg(pScrn->scrnIndex, pScrn->virtualFrom, "Virtual size is %dx%d "
   ^~

xf86-video-savage-2.3.9:

savage_driver.c: In function 'SavagePreInit':
savage_driver.c:1236:13: warning: implicit declaration of function 
'xf86DisableRandR' [-Wimplicit-function-declaration]
 xf86DisableRandR();
 ^~~~
savage_driver.c:2037:10: error: 'struct _ScrnInfoRec' has no member named 
'maxHValue'
 pScrn->maxHValue = 2048 << 3; /* 11 bits of h_total 8-pixel units */
  ^~
savage_driver.c:2038:10: error: 'struct _ScrnInfoRec' has no member named 
'maxVValue'
 pScrn->maxVValue = 2048;  /* 11 bits of v_total */
  ^~
*** [savage_driver.lo] Error code 1



xf86-video-s3virge-1.10.7:

  CC   s3v_driver.lo
s3v_driver.c: In function 'S3VPreInit':
s3v_driver.c:741:12: warning: assignment discards 'const' qualifier from 
pointer target type [-Wdiscarded-qualifiers]
 if ((s = xf86GetOptValString(ps3v->Options, OPTION_ROTATE))) {
^
s3v_driver.c:1215:8: error: 'struct _ScrnInfoRec' has no member named 
'maxHValue'
   pScrn->maxHValue = 2048;
^~
s3v_driver.c:1216:8: error: 'struct _ScrnInfoRec' has no member named 
'maxVValue'
   pScrn->maxVValue = 2048;
^~

xf86-video-rendition-4.2.6:

rendition.c: In function 'renditionPreInit':
rendition.c:723:20: warning: assignment discards 'const' qualifier from pointer 
target type [-Wdiscarded-qualifiers]
 if ((in_string = xf86GetOptValString(pRendition->Options, OPTION_ROTATE))){
^
rendition.c:816:16: error: 'struct _ScrnInfoRec' has no member named 'maxHValue'
 pScreenInfo->maxHValue = MAX_HTOTAL;
^~
rendition.c:817:16: error: 'struct _ScrnInfoRec' has no member named 'maxVValue'
 pScreenInfo->maxVValue = MAX_VTOTAL;
^~
*** [rendition.lo] Error code 1




xf86-video-r128-6.10.2:

In file included from /usr/include/amd64/ansi.h:39:0,
 from /usr/include/string.h:36,
 from r128_driver.c:65:
../config.h:103:18: error: expected declaration specifiers or '...' before 
'__builtin_constant_p'
 #define bswap_64 bswap64
  ^
/scratch/x11/xf86-video-r128/work/.buildlink/include/xorg/misc.h:300:1: note: 
in expansion of macro 'bswap_64'
 bswap_64(uint64_t x)
 ^~~~
../config.h:100:18: error: expected declaration specifiers or '...' before 
'__builtin_constant_p'
 #define bswap_32 bswap32
  ^
/scratch/x11/xf86-video-r128/work/.buildlink/include/xorg/misc.h:319:1: note: 
in expansion of macro 'bswap_32'
 bswap_32(uint32_t x)
 ^~~~
../config.h:97:18: error: expected declaration specifiers or '...' before 
'__builtin_constant_p'
 #define bswap_16 bswap16
  ^
/scratch/x11/xf86-video-r128/work/.buildlink/include/xorg/misc.h:363:1: note: 
in expansion of macro 'bswap_16'
 bswap_16(uint16_t x)
 ^~~~


xf86-video-mach64-6.9.5:


atipreinit.c: In function 'ATIPreInit':
atipreinit.c:2255:16: error: 'struct _ScrnInfoRec' has no member named 
'maxHValue'
 pScreenInfo->maxHValue = (MaxBits(CRTC_H_TOTAL) + 1) << 3;
^~
atipreinit.c:2268:20: error: 'struct _ScrnInfoRec' has no member named 
'maxHValue'
 pScreenInfo->maxHValue >>= 1;
^~
atipreinit.c:2271:16: error: 'struct _ScrnInfoRec' has no member named 
'maxVValue'
 pScreenInfo->maxVValue = MaxBits(CRTC_V_TOTAL) + 1;
^~

xf86-video-ati-18.0.1:

In file included from /usr/include/amd64/ansi.h:39:0,
 from /usr/include/unistd.h:66,
 from ati.h:26,
 from atimodule.c:27:

Re: [Mesa-dev] [PATCH 2/2] loader_dri3: Variant 2: Wait for pending swaps to complete before drawable_fini.

2018-05-11 Thread Michel Dänzer
On 2018-05-09 07:32 PM, Adam Jackson wrote:
> On Tue, 2018-05-08 at 11:42 +0200, Michel Dänzer wrote:
> 
>> Idle notify events shouldn't need special treatment, since the pixmap
>> XIDs of the buffers will be different between loader_dri3_drawable
>> incarnations, aren't they?
> 
> We're destroying loader_dri3_drawable structs at MakeCurrent time, but
> not destroying actual drawables, so I don't think the XIDs will change.

I'm talking about loader_dri3_buffer::pixmap, which are destroyed in
loader_dri3_drawable_fini -> dri3_free_render_buffer.


-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast | Mesa and X developer
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel