[Intel-gfx] Hardware acceleration for blit/fillrect in GMA-HD driver(i915)
Neeraj N T
neerajnt at tataelxsi.co.in
Wed Feb 2 03:31:14 PST 2011
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
Please correct me wherever I am wrong.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Intel-gfx