From: Neeraj N T Subject: Hardware acceleration for blit/fillrect in GMA-HD driver(i915) Date: Wed, 02 Feb 2011 17:01:14 +0530 Message-ID: <4D494082.1030603@tataelxsi.co.in> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0261602288==" Return-path: Received: from smtpin2.mailsecure.in (SMTPIN2.mailsecure.in [121.241.224.3]) by gabe.freedesktop.org (Postfix) with ESMTP id 60CEA9E73F for ; Wed, 2 Feb 2011 03:44:34 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org This is a multi-part message in MIME format. --===============0261602288== Content-Type: multipart/alternative; boundary="------------050603090001010103020008" This is a multi-part message in MIME format. --------------050603090001010103020008 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; format="flowed" Hi All, I am in need to check whether the graphics driver for GMA-HD( i915)=20 provides hardware accelerated graphics functions. While analyzing the code of i915 driver I found that the graphic=20 functions like 'blit' and 'fillrect' are mapped to functions like=20 'cfb_imageblit', 'cfb_fillrect'. Looking into 'cfb_xxxx' implementation,=20 I understood that ultimately all of them puts image data(bit map) to a=20 memory address. According to my expectation, this address should=20 correspond to the video memory/graphics memory of the graphics hardware(So that it could be argued that hardware=20 acceleration is used for the above mentioned functions). But it was=20 observed that, the memory was kmalloc()'ed with FLAGS GFP_KERNEL. From=20 the observation, can I conclude that the 'blit'/'fillrect' functions of i915 driver doesn't use =20 hardware acceleration at all? Could anybody suggest me any other=20 i915 functions for accessing 'blit'/'fillrect' functionalities with=20 hardware acceleration? Please correct me wherever I am wrong. Thanks, Neeraj N.T --------------050603090001010103020008 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="iso-8859-1" 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


--------------050603090001010103020008-- --===============0261602288== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============0261602288==--