diff options
author | Tomi Valkeinen <[email protected]> | 2015-03-17 15:31:11 +0200 |
---|---|---|
committer | Tomi Valkeinen <[email protected]> | 2015-06-24 09:53:26 +0300 |
commit | a903e3b64adfc2e126237f06e0b3ea7d2d8d13b5 (patch) | |
tree | d41905e5912c996ba9a9082a9c2b66d49cf18702 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5f741b39dde47c054af78727cce7202fff9f781b (diff) |
drm/omap: return error if dma_alloc_writecombine fails
On a platform with no TILER (e.g. omap3, am43xx), when the user wants to
allocate buffer with flag OMAP_BO_SCANOUT, the buffer needs to be
allocated with dma_alloc_writecombine. For some reason the driver does
not return an error if that alloc fails, instead it continues without
backing memory. This leads to errors later when the user tries to use
the buffer.
This patch makes the driver return an error if dma_alloc_writecombine
fails.
Signed-off-by: Tomi Valkeinen <[email protected]>
Acked-by: Laurent Pinchart <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions