[igt-dev] [PATCH i-g-t v3 08/52] lib/huc_copy: Extend huc copy prototype to pass allocator handle

Dixit, Ashutosh ashutosh.dixit at intel.com
Thu Aug 5 00:31:01 UTC 2021


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 <ashutosh.dixit at intel.com>


More information about the igt-dev mailing list