diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2019-05-29 12:43:12 +0200 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2019-10-03 16:16:19 +0200 |
commit | 97b859fadee3d9e33076f0af35b0fc854d157cbc (patch) | |
tree | dceb4c9a7f2d47414cfab4944f03665635a6888e /lib/mpi/mpiutil.c | |
parent | 3e4946246813f869ceeb9c996b8864229ae3afad (diff) |
drm/etnaviv: use CMA area to compute linear window offset if possible
The dma_required_mask might overestimate the memory size, or might not match
up with the CMA area placement for other reasons. Get the information about
CMA area placement directly from CMA where it is available, but keep the
dma_required_mask as an approximate fallback for architectures where CMA is
not available.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions