<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: buffer class driver for EMGD in Embedded Intel Atom® Processors</title>
    <link>https://community.intel.com/t5/Embedded-Intel-Atom-Processors/buffer-class-driver-for-EMGD/m-p/256948#M2730</link>
    <description>&lt;P&gt;Hi Marc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Intel's EMDG expert Kirk Blum asked me to pass along this reply (he was having some technical issue accessing the site)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Kirk -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me answer your last question first as it has bearing on the first question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The IP contained in the PowerVR is very carefully licensed by the owner and greatly restricts the information we can make available.  What we have released in source code in the EMGD package is everything that we are allowed to release including information on the APIs used.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As such, the specific calls, even though exposed in the kernel code, the inner workings are still considered private by the IP owner (and is the reason they run in User space, not the Linux kernel).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are getting the idea about the first question- I just do not have anything that we can provide on how that specific call works.  It may actually be a generic item in a standard PowerVR header but is not "wired up" inside the driver.  It is also subject to change so if you managed to figure out how it works, there is a really good chance it would change in the future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my experience, your idea is very elegant, but may be trying to be "too cleaver".  If I am not mistaken, there are other ways to stream textures that will work through more standard calls and you probably should be looking for those..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felix&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;J. Felix McNulty&lt;/P&gt;&lt;P&gt;Community Moderator (Intel contractor)&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2013 17:14:17 GMT</pubDate>
    <dc:creator>FMcNu1</dc:creator>
    <dc:date>2013-03-13T17:14:17Z</dc:date>
    <item>
      <title>buffer class driver for EMGD</title>
      <link>https://community.intel.com/t5/Embedded-Intel-Atom-Processors/buffer-class-driver-for-EMGD/m-p/256947#M2729</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently creating a buffer class driver for EMGD based on&lt;/P&gt;&lt;P&gt;the source code found in emgd_bc.c (available in the Linux&lt;/P&gt;&lt;P&gt;package). This driver creates different devices /dev/bccat0,&lt;/P&gt;&lt;P&gt;/dev/bccat1, etc. and allows the user to mmap these devices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal is to allow user-space applications to directly access&lt;/P&gt;&lt;P&gt;texture data with the texture streaming extensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far the driver loads correctly and is also able to allocate&lt;/P&gt;&lt;P&gt;buffers from ioctls calls (I used the same recipe found in&lt;/P&gt;&lt;P&gt; emdg_bc.c and also from other drivers available on other&lt;/P&gt;&lt;P&gt;platforms using PowerVR GPUs).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the problem I'm having is that each call to&lt;/P&gt;&lt;P&gt;glGetTexStreamDeviceNameIMG always returns a NULL pointer with GL&lt;/P&gt;&lt;P&gt; error 1281.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First question: Is what I'm trying to acheive here possible? I&lt;/P&gt;&lt;P&gt;mean, is the EMGD driver capable of doing texture streaming with&lt;/P&gt;&lt;P&gt;my approach?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second question: Is there any info available on how to actually&lt;/P&gt;&lt;P&gt; use the PowerVR kernel API?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2013 23:14:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Embedded-Intel-Atom-Processors/buffer-class-driver-for-EMGD/m-p/256947#M2729</guid>
      <dc:creator>mferl</dc:creator>
      <dc:date>2013-03-12T23:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: buffer class driver for EMGD</title>
      <link>https://community.intel.com/t5/Embedded-Intel-Atom-Processors/buffer-class-driver-for-EMGD/m-p/256948#M2730</link>
      <description>&lt;P&gt;Hi Marc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Intel's EMDG expert Kirk Blum asked me to pass along this reply (he was having some technical issue accessing the site)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Kirk -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me answer your last question first as it has bearing on the first question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The IP contained in the PowerVR is very carefully licensed by the owner and greatly restricts the information we can make available.  What we have released in source code in the EMGD package is everything that we are allowed to release including information on the APIs used.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As such, the specific calls, even though exposed in the kernel code, the inner workings are still considered private by the IP owner (and is the reason they run in User space, not the Linux kernel).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are getting the idea about the first question- I just do not have anything that we can provide on how that specific call works.  It may actually be a generic item in a standard PowerVR header but is not "wired up" inside the driver.  It is also subject to change so if you managed to figure out how it works, there is a really good chance it would change in the future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my experience, your idea is very elegant, but may be trying to be "too cleaver".  If I am not mistaken, there are other ways to stream textures that will work through more standard calls and you probably should be looking for those..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felix&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;J. Felix McNulty&lt;/P&gt;&lt;P&gt;Community Moderator (Intel contractor)&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2013 17:14:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Embedded-Intel-Atom-Processors/buffer-class-driver-for-EMGD/m-p/256948#M2730</guid>
      <dc:creator>FMcNu1</dc:creator>
      <dc:date>2013-03-13T17:14:17Z</dc:date>
    </item>
  </channel>
</rss>

