[Intel-gfx] Hardware acceleration for blit/fillrect in GMA-HD driver(i915)

Neeraj N T neerajnt at tataelxsi.co.in
Wed Feb 2 12:31:14 CET 2011


Hi All,

I am in need to check whether the graphics driver for GMA-HD( i915) 
provides hardware accelerated graphics functions.

While analyzing the  code of  i915 driver I found that the graphic 
functions like 'blit' and 'fillrect' are mapped to functions like 
'cfb_imageblit', 'cfb_fillrect'. Looking into 'cfb_xxxx' implementation, 
I understood that ultimately all of them  puts image data(bit map) to a 
memory address. According to my expectation,  this address should 
correspond to the video memory/graphics
memory of the graphics hardware(So that it could be argued that hardware 
acceleration is used for the above mentioned functions). But it was 
observed that, the memory was kmalloc()'ed with FLAGS GFP_KERNEL. From 
the observation, can I conclude
that the 'blit'/'fillrect' functions of i915 driver doesn't  use  
hardware  acceleration at all?  Could  anybody  suggest  me  any  other 
i915 functions for accessing 'blit'/'fillrect' functionalities with 
hardware acceleration?

Please correct me wherever I am wrong.

Thanks,

Neeraj N.T



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20110202/316f0528/attachment.html>


More information about the Intel-gfx mailing list