Bugzilla – Attachment 48427 Details for
Bug 106890
32bit DRI on AMD64 broken (mga driver)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
Required mga DRI driver patch
p_mga-dri.diff (text/plain), 1.20 KB, created by
Stefan Dirsch
on 2005-09-01 10:39:25 UTC
(
hide
)
Description:
Required mga DRI driver patch
Filename:
MIME Type:
Creator:
Stefan Dirsch
Created:
2005-09-01 10:39:25 UTC
Size:
1.20 KB
patch
obsolete
>--- extras/Mesa/src/mesa/drivers/dri/mga/server/mga_dri.h 16 Jun 2004 09:44:00 -0000 1.3 >+++ extras/Mesa/src/mesa/drivers/dri/mga/server/mga_dri.h 8 Apr 2005 15:41:00 -0000 >@@ -79,6 +79,12 @@ > > } MGADRIServerPrivateRec, *MGADRIServerPrivatePtr; > >+typedef struct _mgaDrmRegion { >+ drm_handle_t handle; >+ unsigned int offset; >+ drmSize size; >+} mgaDrmRegion, *mgaDrmRegionPtr; >+ > typedef struct { > int chipset; > int width; >@@ -111,10 +117,10 @@ > > unsigned int mAccess; > >- drmRegion registers; >- drmRegion status; >- drmRegion primary; >- drmRegion buffers; >+ mgaDrmRegion registers; >+ mgaDrmRegion status; >+ mgaDrmRegion primary; >+ mgaDrmRegion buffers; > unsigned int sarea_priv_offset; > } MGADRIRec, *MGADRIPtr; > >--- extras/Mesa/src/mesa/drivers/dri/mga/mga_xmesa.c 2004-12-16 01:23:47.000000000 +0100 >+++ extras/Mesa/src/mesa/drivers/dri/mga/mga_xmesa.c 2005-04-05 21:26:38.000000000 +0200 >@@ -612,8 +612,7 @@ > _tnl_allow_pixel_fog( ctx, GL_FALSE ); > _tnl_allow_vertex_fog( ctx, GL_TRUE ); > >- mmesa->primary_offset = mmesa->mgaScreen->primary.handle; >- >+ mmesa->primary_offset = drmAgpBase(sPriv->fd); > ctx->DriverCtx = (void *) mmesa; > mmesa->glCtx = ctx; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 106890
:
48140
|
48427
|
48428
|
49518