[PATCH v3 3/3] drm/panfrost: Add initial panfrost driver
Eric Anholt
eric at anholt.net
Tue Apr 9 21:27:49 UTC 2019
Eric Anholt <eric at anholt.net> writes:
> [ Unknown signature status ]
> Rob Herring <robh at kernel.org> writes:
>
>> This adds the initial driver for panfrost which supports Arm Mali
>> Midgard and Bifrost family of GPUs. Currently, only the T860 and
>> T760 Midgard GPUs have been tested.
>
>> +static int panfrost_ioctl_get_bo_offset(struct drm_device *dev, void *data,
>> + struct drm_file *file_priv)
>> +{
>> + struct drm_panfrost_get_bo_offset *args = data;
>> + struct drm_gem_object *gem_obj;
>> + struct panfrost_gem_object *bo;
>> +
>
> Missing check for pad == 0. With that fixed,
>
> Reviewed-by: Eric Anholt <eric at anholt.net>
I suppose you could also drop both flags and pad from uapi, since both
of them must be 0 filled and you could just add a new flags at the end
of the create struct if you ever need one.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190409/203b51f2/attachment.sig>
More information about the dri-devel
mailing list