Re: [igt-dev] [PATCH i-g-t v3 08/52] lib/huc_copy: Extend huc copy prototype to pass allocator handle
From: Dixit, Ashutosh <hidden>
Date: 2021-08-05 00:31:03
From: Dixit, Ashutosh <hidden>
Date: 2021-08-05 00:31:03
On Mon, 26 Jul 2021 12:59:42 -0700, Zbigniew Kempczyński wrote:
@@ -86,6 +90,21 @@ gen9_huc_copyfunc(int fd,buf[i++] = MFX_WAIT; memset(reloc, 0, sizeof(reloc)); + + if (ahnd) { + obj[0].flags = EXEC_OBJECT_PINNED; + obj[1].flags = EXEC_OBJECT_PINNED | EXEC_OBJECT_WRITE; + obj[2].flags = EXEC_OBJECT_PINNED;
Don't need | EXEC_OBJECT_SUPPORTS_48B_ADDRESS here? Otherwise this is: Reviewed-by: Ashutosh Dixit <redacted>