[Beignet] Beignet compile problems
Song, Ruiling
ruiling.song at intel.com
Thu Aug 7 18:33:08 PDT 2014
Hi John,
The latest change in beignet about mesa support is:
commit c2d2853c55d7ab12e422301d1c359b4f736b87d8
Author: Abrahm Scully <abrahm.scully at gmail.com>
Date: Wed Jun 18 22:28:08 2014 -0400
Fix build with mesa 10.1.
Mesa renamed some constants and a directory.
Signed-off-by: Abrahm Scully <abrahm.scully at gmail.com>
Reviewed-by: Zhigang Gong zhigang.gong at linux.intel.com<mailto:zhigang.gong at linux.intel.com>
The patch is already in beignet stable branch.
Seems that Abrahm has tried beignet with mesa 10.1 release.
I am not quite sure as I never tried this. Maybe you can have a try.
Thanks!
Ruiling
From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of John Wilson
Sent: Friday, August 08, 2014 7:37 AM
To: beignet at lists.freedesktop.org
Subject: [Beignet] Beignet compile problems
Hi guys,
What's the correct git hash of the mesa source to use to compile against the beignet source? At the moment I'm using master on mesa:
commit b7679639bcc8ac72cb08c48f9cda8eecd6a9c1e5
Author: Kenneth Graunke <kenneth at whitecape.org<mailto:kenneth at whitecape.org>>
Date: Tue Aug 5 23:57:17 2014 -0700
And stable on beignet:
commit 39c8a4331dcf6319664d657bb8b3584bf7f934ad
Author: Zhigang Gong <zhigang.gong at intel.com<mailto:zhigang.gong at intel.com>>
Date: Thu Jul 17 10:37:09 2014 +0800
But I'm getting the following errors when I'm trying to compile:
[ 9%] [ 10%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_built_in_kernel_str.c.o
Building C object src/CMakeFiles/cl.dir/intel/intel_dri_resource_sharing.c.o
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c: In function 'intel_setup_cl_region_from_mipmap_tree':
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:64:35: error: 'struct intel_mipmap_tree' has no member named 'region'
_intel_region_get_tile_masks(mt->region, &mask_x, &mask_y, false);
^
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:67:32: error: 'struct intel_mipmap_level' has no member named 'width'
region->w = mt->level[level].width;
^
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:68:32: error: 'struct intel_mipmap_level' has no member named 'height'
region->h = mt->level[level].height;
^
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:71:23: error: 'struct intel_mipmap_tree' has no member named 'region'
region->tiling = mt->region->tiling;
^
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:74:26: error: 'struct intel_mipmap_tree' has no member named 'region'
region->row_pitch = mt->region->pitch;
^
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:76:56: error: 'struct intel_mipmap_tree' has no member named 'region'
region->offset = _intel_region_get_aligned_offset(mt->region,
^
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:80:31: error: 'struct intel_mipmap_tree' has no member named 'region'
if (!_intel_region_flink(mt->region, ®ion->name))
^
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:82:44: error: 'struct intel_mipmap_tree' has no member named 'region'
_intel_region_reference(&null_region, mt->region);
^
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c: In function 'intelReleaseTexture':
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:168:35: error: 'struct intel_mipmap_tree' has no member named 'region'
_intel_region_release(&iobj->mt->region);
^
Can anyone help?
Cheers,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20140808/0cdff079/attachment-0001.html>
More information about the Beignet
mailing list