[PATCH 1/6] drm/vc4: Make vc4_lbm_size() return 0 when vertical scaling is disabled

Eric Anholt eric at anholt.net
Thu Nov 15 20:39:56 UTC 2018


Boris Brezillon <boris.brezillon at bootlin.com> writes:

> LBM is not needed when vertical scaling is disabled. Return 0 in this
> case to avoid allocating LBM memory that will anyway be unused.
>
> While at it, drop the test on ->is_unity which is now redundant.

r-b
-------------- 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/20181115/de335a54/attachment.sig>


More information about the dri-devel mailing list