gfx: pvr: fix SGX get misc info ABI
authorImre Deak <imre.deak@intel.com>
Wed, 2 Nov 2011 18:41:58 +0000 (20:41 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:28:23 +0000 (12:28 +0300)
This wasn't caught by the IOCTL size checking, since the structure is
accessed through an extra redirecation. This redirection should be
removed at some point, since it's pointless.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/pvr/include4/sgxapi_km.h

index adee6e1..6d84e12 100644 (file)
@@ -287,7 +287,8 @@ typedef struct _PVRSRV_SGX_RESOURCE_INFO
 
 typedef struct _SGX_MISC_INFO_
 {
-       SGX_MISC_INFO_REQUEST   eRequest;       
+       SGX_MISC_INFO_REQUEST   eRequest;
+       IMG_UINT32              pad;
 #if defined(SUPPORT_SGX_EDM_MEMORY_DEBUG)
        IMG_DEV_VIRTADDR                        sDevVAddrSrc;           
        IMG_DEV_VIRTADDR                        sDevVAddrDest;