diff options
| author | Boris Brezillon <[email protected]> | 2018-11-30 10:02:49 +0100 |
|---|---|---|
| committer | Boris Brezillon <[email protected]> | 2018-11-30 10:34:16 +0100 |
| commit | b2e554d4df5e758306e81d64e1782f992a74b995 (patch) | |
| tree | 1cc334b4b67cdd30fa3470296ed1054b3f448ddd /drivers/usb/cdns3/cdns3-ep0.c | |
| parent | 22be874012893d436438b538c21a896ed930fcc5 (diff) | |
drm/vc4: Make vc4_lbm_size() return 0 when vertical scaling is disabled
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.
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ep0.c')
0 files changed, 0 insertions, 0 deletions