bugzilla-daemon | 1 Aug 2007 14:11

[Bug 11793] New: src/mesa/drivers/dri/common/dri_drmpool.c mem leak fix

http://bugs.freedesktop.org/show_bug.cgi?id=11793

           Summary: src/mesa/drivers/dri/common/dri_drmpool.c mem leak fix
           Product: Mesa
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: janitor, patch
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i915
        AssignedTo: dri-devel <at> lists.sourceforge.net
        ReportedBy: roland <at> verifysoft.de

Obvious, apply attached patch

--

-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
--
bugzilla-daemon | 1 Aug 2007 14:12

[Bug 11793] src/mesa/drivers/dri/common/dri_drmpool.c mem leak fix

http://bugs.freedesktop.org/show_bug.cgi?id=11793

------- Comment #1 from roland <at> verifysoft.de  2007-08-01 05:11 PST -------
Created an attachment (id=10936)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=10936&action=view)
Simply free()...

--

-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
--
Laurent Lagrange | 1 Aug 2007 15:03

PCI DMA driver

Hi
 
I'm writing a graphics driver for a PCI based graphics card. The board is bus master and can perform DMA transfers but does not have a GART like Ati cards. I wrote all the 2D part (DDX driver with Xv, Xaa / Exa...) and now I'm working on the DRI + DRM parts. For now, no DMA transfers are performed at all and I'd like to use them first to accelerate system <-> host data transfers for Exa (UploadToScreen, DownloadFromScreen) and Xvideo (grab video, put image...). Looking into the source code of existing drivers, I try to figure out how does this works and what kind of buffers I must use. My need is to allocate a memory area which will be used as one or more buffers. This area must be accessible in user-space (for exa, xv...), and DMA-able in kernel space. Pages does not need to be contiguous because the DMA engine is able to perfom chained DMA.
 
If I understood well, I must do something like this in user space :
    - drmScatterGatherAlloc : will allocate my DMA-able memory
    - drmAddMap (with type = DRM_SCATTER_GATHER) to add a mapping on it
    - drmAddBufs (with type = DRM_SG_BUFFER) to request buffers for DMA transfers
    - drmMapBufs to map them in client virtual space
    - drmDMA to reserve and dispatch DMA buffers
The last command will issue an IOCTL that I must implement in the DRM driver where the execution of the dma transfer will take place.
 
Is this correct ? I'm a little bit lost. I read every where that the drmDMA should not be used and very few drivers call this function. I don't understand why. Isn't it suitable for my needs ?
 
Thanks for you answers
Laurent
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
--
_______________________________________________
Dri-devel mailing list
Dri-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel
bugzilla-daemon | 1 Aug 2007 16:30

[Bug 9264] GLX_BIND_TO_MIPMAP_TEXTURE_EXT attribute should only be GL_FALSE or GL_TRUE

http://bugs.freedesktop.org/show_bug.cgi?id=9264

michel <at> tungstengraphics.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #9556 is|0                           |1
           obsolete|                            |

------- Comment #3 from michel <at> tungstengraphics.com  2007-08-01 07:30 PST -------
Created an attachment (id=10938)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=10938&action=view)
Only return GL_FALSE or GL_TRUE for this attribute

The previous patch had undesirable side effects ('libGL warning: 3D driver
claims to not support visual 0x*' for most if not all visuals, and compiz
didn't start either). This is a simpler patch which just makes sure that only
GL_TRUE (if set to that by the server) or GL_TRUE (otherwise) is ever returned
for this attribute. Ian, is this an acceptable approach? FWIW, it allows me to
start stock compiz with the i915tex driver.

--

-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
--
bugzilla-daemon | 1 Aug 2007 16:42

[Bug 11793] src/mesa/drivers/dri/common/dri_drmpool.c mem leak fix

http://bugs.freedesktop.org/show_bug.cgi?id=11793

brian.paul <at> tungstengraphics.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

------- Comment #2 from brian.paul <at> tungstengraphics.com  2007-08-01 07:42 PST -------
fixed in git.

--

-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
--
Jesse Barnes | 1 Aug 2007 20:10
Favicon

DRM enhancements document

I finally found some time to create a new wiki page for all the 
modesetting/configuration related DRM enhancements we've been talking about:
http://dri.freedesktop.org/wiki/DrmModesetting

Please take a look and let me know what you think.  I still have to go through 
all the feedback I received from the lkml post I made awhile back, and make 
sure it's captured (I think it is, albeit at a fairly high level mostly), and 
add more detail in the design and development sections.

Jakub, hopefully you can go over it and add more detail about the userland 
APIs?

Dave and Keith, we talked about the new device node scheme awhile back, but I 
only have notes on what the master node should be responsible for, did we 
have any new ioctls for the slave nodes?  Ring buffer mapping, etc. should 
probably be there?

Thanks,
Jesse

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
--
bugzilla-daemon | 2 Aug 2007 04:46

[Bug 11804] New: polygon point applied incorrect texture when point_sprite enabled

http://bugs.freedesktop.org/show_bug.cgi?id=11804

           Summary: polygon point applied incorrect texture when
                    point_sprite enabled
           Product: Mesa
           Version: CVS
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i965
        AssignedTo: nanhai.zou <at> intel.com
        ReportedBy: nian.wu <at> intel.com
                CC: dri-devel <at> lists.sourceforge.net, haihao.xiang <at> intel.com,
                    shuang.he <at> intel.com

When enables point_sprite and set the polygon mode to GL_POINT, the polygon
points are applied with incorrect texture.

--

-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
--
bugzilla-daemon | 2 Aug 2007 04:48

[Bug 11804] polygon point applied incorrect texture when point_sprite enabled

http://bugs.freedesktop.org/show_bug.cgi?id=11804

------- Comment #1 from nian.wu <at> intel.com  2007-08-01 19:48 PST -------
Created an attachment (id=10950)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=10950&action=view)
test case

The texel has different color, but the dest pixels of polygon point are applied
with same texel, so the dest pixels have the same color.

--

-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
--
bugzilla-daemon | 2 Aug 2007 09:32

[Bug 11804] polygon point applied incorrect texture when point_sprite enabled

http://bugs.freedesktop.org/show_bug.cgi?id=11804

nanhai.zou <at> intel.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

------- Comment #2 from nanhai.zou <at> intel.com  2007-08-02 00:32 PST -------
fixed in mesa, commit 
505453a04e8ba5e394c34401bd9ec320ffce2423

--

-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
--
bugzilla-daemon | 2 Aug 2007 10:00

[Bug 11806] New: Wrong upper index check, buffer overflow .../dri/sis/sis_tex.c

http://bugs.freedesktop.org/show_bug.cgi?id=11806

           Summary: Wrong upper index check, buffer overflow
                    .../dri/sis/sis_tex.c
           Product: Mesa
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: janitor, patch
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/SiS
        AssignedTo: dri-devel <at> lists.sourceforge.net
        ReportedBy: roland <at> verifysoft.de

A check is done based on MAX_TEXTURE_LEVELS which is 12, but the then used
array has only SIS_MAX_TEXTURE_LEVELS 11. Please apply attached patch.

--

-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
--

Gmane