[PATCH] drm/panfrost: Add PANFROST_BO_NO{READ,WRITE} flags

Alyssa Rosenzweig alyssa at collabora.com
Thu Sep 30 19:13:29 UTC 2021


> +	/* Executable implies readable */
> +	if ((args->flags & PANFROST_BO_NOREAD) &&
> +	    !(args->flags & PANFROST_BO_NOEXEC))
> +		return -EINVAL;

Generally, executable also implies not-writeable. Should we check that?


More information about the dri-devel mailing list