[Intel-gfx] [PATCH] Release front buffer bo when quit X
Shuang He
shuang.he at intel.com
Wed Apr 15 03:39:25 CEST 2009
Fix indentation in the previous patch, Thanks for anholt.
Thanks
--Shuang
Shuang He wrote:
> Forget to mention that, this leak happens with KMS or DRI2 is enabled
>
> Thanks
> --Shuang
>
> Shuang He wrote:
>
>> As I checked X with valgrind, a memory leak is detected when quit X.
>>
>> ==23357== 0 bytes in 1 blocks are definitely lost in loss record 1 of 116
>> ==23357== at 0x55A962F: drm_intel_gem_bo_alloc_internal
>> (intel_bufmgr_gem.c:428)
>> ==23357== by 0x55A5192: drm_intel_bo_alloc (intel_bufmgr.c:51)
>> ==23357== by 0x55459CC: i830_allocate_memory (i830_memory.c:829)
>> ==23357== by 0x55463F5: i830_allocate_framebuffer (i830_memory.c:1268)
>> ==23357== by 0x556F786: drmmode_xf86crtc_resize (drmmode_display.c:674)
>> ==23357== by 0x816F530: xf86RandR12ScreenSetSize (xf86RandR12.c:705)
>> ==23357== by 0x816FC10: xf86RandR12CreateScreenResources
>> (xf86RandR12.c:833)
>> ==23357== by 0x80A225F: xf86CrtcCreateScreenResources (xf86Crtc.c:708)
>> ==23357== by 0x8064BD0: main (main.c:324)
>>
>> The attached patch would fix that.
>>
>> Thanks
>> --Shuang
>>
>>
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090415/ac9f4332/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: free_front_buffer.patch
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090415/ac9f4332/attachment.ksh>
More information about the Intel-gfx
mailing list