[PATCH libdrm v2 2/2] etnaviv: add etna_bo_from_handle

Daniel Stone daniel at fooishbar.org
Mon Aug 21 11:35:05 UTC 2017


Hi Philipp,

On 21 August 2017 at 11:56, Philipp Zabel <p.zabel at pengutronix.de> wrote:
> +struct etna_bo *
> +etna_bo_from_handle(struct etna_device *dev, uint32_t handle, uint32_t size)
> +{
> +       struct etna_bo *bo = NULL;

You can drop the NULL initialisation since it's always set by the
lookup_bo() call. But with that, both patches are:
Reviewed-by: Daniel Stone <daniels at collabora.com>

Cheers,
Daniel


More information about the dri-devel mailing list