<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
        {font-family:o365IconsIE8;}
@font-face
        {font-family:o365IconsMouse;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ms-cui-menu, li.ms-cui-menu, div.ms-cui-menu
        {mso-style-name:ms-cui-menu;
        margin:0cm;
        margin-bottom:.0001pt;
        background:white;
        border:none;
        padding:0cm;
        font-size:10.0pt;
        font-family:"Segoe UI","sans-serif";
        color:#333333;}
p.ms-cui-menusection-title, li.ms-cui-menusection-title, div.ms-cui-menusection-title
        {mso-style-name:ms-cui-menusection-title;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        display:none;}
p.ms-cui-ctl, li.ms-cui-ctl, div.ms-cui-ctl
        {mso-style-name:ms-cui-ctl;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:#333333;}
p.ms-cui-ctl-on, li.ms-cui-ctl-on, div.ms-cui-ctl-on
        {mso-style-name:ms-cui-ctl-on;
        margin:0cm;
        margin-bottom:.0001pt;
        background:#DFEDFA;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ms-cui-img-cont-float, li.ms-cui-img-cont-float, div.ms-cui-img-cont-float
        {mso-style-name:ms-cui-img-cont-float;
        margin-top:1.5pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ms-cui-smenu-inner, li.ms-cui-smenu-inner, div.ms-cui-smenu-inner
        {mso-style-name:ms-cui-smenu-inner;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ms-owa-paste-option-icon, li.ms-owa-paste-option-icon, div.ms-owa-paste-option-icon
        {mso-style-name:ms-owa-paste-option-icon;
        margin-top:1.5pt;
        margin-right:3.0pt;
        margin-bottom:0cm;
        margin-left:3.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        vertical-align:sub;}
p.ms-rtepasteflyout-option, li.ms-rtepasteflyout-option, div.ms-rtepasteflyout-option
        {mso-style-name:ms-rtepasteflyout-option;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.ms-cui-menusection, li.ms-cui-menusection, div.ms-cui-menusection
        {mso-style-name:ms-cui-menusection;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.wf, li.wf, div.wf
        {mso-style-name:wf;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.wf-family-owa, li.wf-family-owa, div.wf-family-owa
        {mso-style-name:wf-family-owa;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:o365IconsMouse;}
p.wf-owa-play-large, li.wf-owa-play-large, div.wf-owa-play-large
        {mso-style-name:wf-owa-play-large;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.wf-size-play-large, li.wf-size-play-large, div.wf-size-play-large
        {mso-style-name:wf-size-play-large;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.wf-family-owa1, li.wf-family-owa1, div.wf-family-owa1
        {mso-style-name:wf-family-owa1;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:o365IconsIE8;}
p.wf-owa-play-large1, li.wf-owa-play-large1, div.wf-owa-play-large1
        {mso-style-name:wf-owa-play-large1;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:white;}
p.wf-owa-play-large2, li.wf-owa-play-large2, div.wf-owa-play-large2
        {mso-style-name:wf-owa-play-large2;
        margin:0cm;
        margin-bottom:.0001pt;
        text-align:center;
        border:none;
        padding:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:white;}
p.wf-size-play-large1, li.wf-size-play-large1, div.wf-size-play-large1
        {mso-style-name:wf-size-play-large1;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:22.5pt;
        font-family:"Times New Roman","serif";}
p.wf-size-play-large2, li.wf-size-play-large2, div.wf-size-play-large2
        {mso-style-name:wf-size-play-large2;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:22.5pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle36
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ZH-CN" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi John,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">The latest change in beignet about mesa support is:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">commit c2d2853c55d7ab12e422301d1c359b4f736b87d8<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Author: Abrahm Scully <abrahm.scully@gmail.com><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Date:   Wed Jun 18 22:28:08 2014 -0400<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">    Fix build with mesa 10.1.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">   
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">    Mesa renamed some constants and a directory.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">   
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">    Signed-off-by: Abrahm Scully <abrahm.scully@gmail.com><o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.6pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Reviewed-by: Zhigang Gong
<a href="mailto:zhigang.gong@linux.intel.com">zhigang.gong@linux.intel.com</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">The patch is already in beignet stable branch.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Seems that Abrahm has tried beignet with mesa 10.1 release.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">I am not quite sure as I never tried this. Maybe you can have a try.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Ruiling<o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Beignet [mailto:beignet-bounces@lists.freedesktop.org]
<b>On Behalf Of </b>John Wilson<br>
<b>Sent:</b> Friday, August 08, 2014 7:37 AM<br>
<b>To:</b> beignet@lists.freedesktop.org<br>
<b>Subject:</b> [Beignet] Beignet compile problems<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p style="background:white"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:black">Hi guys,<o:p></o:p></span></p>
<p style="background:white"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></p>
<p style="background:white"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:black">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:<o:p></o:p></span></p>
<p style="background:white"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:black">commit b7679639bcc8ac72cb08c48f9cda8eecd6a9c1e5<br>
Author: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>><br>
Date:   Tue Aug 5 23:57:17 2014 -0700<o:p></o:p></span></p>
<p style="background:white"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></p>
<p style="background:white"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:black">And stable on beignet:<o:p></o:p></span></p>
<p style="background:white"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:black">commit 39c8a4331dcf6319664d657bb8b3584bf7f934ad<br>
Author: Zhigang Gong <<a href="mailto:zhigang.gong@intel.com">zhigang.gong@intel.com</a>><br>
Date:   Thu Jul 17 10:37:09 2014 +0800<o:p></o:p></span></p>
<p style="background:white"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></p>
<p style="background:white"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:black">But I'm getting the following errors when I'm trying to compile:<o:p></o:p></span></p>
<p style="background:white"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:black">[  9%] [ 10%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_built_in_kernel_str.c.o<br>
Building C object src/CMakeFiles/cl.dir/intel/intel_dri_resource_sharing.c.o<br>
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c: In function ‘intel_setup_cl_region_from_mipmap_tree’:<br>
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:64:35: error: ‘struct intel_mipmap_tree’ has no member named ‘region’<br>
    _intel_region_get_tile_masks(mt->region, &mask_x, &mask_y, false);<br>
                                   ^<br>
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:67:32: error: ‘struct intel_mipmap_level’ has no member named ‘width’<br>
    region->w = mt->level[level].width;<br>
                                ^<br>
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:68:32: error: ‘struct intel_mipmap_level’ has no member named ‘height’<br>
    region->h = mt->level[level].height;<br>
                                ^<br>
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:71:23: error: ‘struct intel_mipmap_tree’ has no member named ‘region’<br>
    region->tiling = mt->region->tiling;<br>
                       ^<br>
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:74:26: error: ‘struct intel_mipmap_tree’ has no member named ‘region’<br>
    region->row_pitch = mt->region->pitch;<br>
                          ^<br>
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:76:56: error: ‘struct intel_mipmap_tree’ has no member named ‘region’<br>
    region->offset = _intel_region_get_aligned_offset(mt->region,<br>
                                                        ^<br>
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:80:31: error: ‘struct intel_mipmap_tree’ has no member named ‘region’<br>
    if (!_intel_region_flink(mt->region, &region->name))<br>
                               ^<br>
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:82:44: error: ‘struct intel_mipmap_tree’ has no member named ‘region’<br>
    _intel_region_reference(&null_region, mt->region);<br>
                                            ^<br>
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c: In function ‘intelReleaseTexture’:<br>
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:168:35: error: ‘struct intel_mipmap_tree’ has no member named ‘region’<br>
    _intel_region_release(&iobj->mt->region);<br>
                                   ^<br>
Can anyone help?<o:p></o:p></span></p>
<p style="background:white"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></p>
<p style="background:white"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:black">Cheers,<o:p></o:p></span></p>
<p style="background:white"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></p>
<p style="background:white"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:black">John<o:p></o:p></span></p>
<div>
<p style="background:white"><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
</div>
</div>
</body>
</html>