Hello.

I have started to make linux-solo compilable with latest dri interfaces.
Attached is patch.
It compiles (needs a little tricks to get server/intel_dri.c compiled).
But than it gets all linked and installed.

I tried to run it. And here is error.

[miniglx] probed chipset 0x2a02
got MMIOAddress 0xb7765000 offset 4096000
[drm] added 8192 byte SAREA at 0xf8105000
[drm] mapped SAREA 0xf8105000 to 0xb7fd2000, size 8192
[drm] register handle = 0xfc000000
detected 1017 kB stolen memory.
[gart] AGP enabled at 1x
Setting master
[drm] drmAddMap(ring_map) failed. Disabling DRI
__miniglx_StartServer: __driInitFBDev failed
Error: __miniglx_StartServer failed

It fails in server/intel_dri.c
static Bool I830DRIDoMappings(DRIDriverContext *ctx, I830Rec *pI830, drmI830Sarea *sarea)
  {
    if (drmAddMap(ctx->drmFD,
   (drm_handle_t)pI830->LpRing->mem.Start,
   pI830->LpRing->mem.Size, DRM_AGP, 0,
   &pI830->ring_map) < 0) {
     fprintf(stderr,
      "[drm] drmAddMap(ring_map) failed. Disabling DRI\n");
     return FALSE;
   }

I thinks offset are bad. I don't quit undestand the aperture offsets and so on.

If someone wants to continue this work, i'll be happy to receive patches if someone will get it worked.

Bye.


Attachment: mesa.patch
Description: Binary data

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to