diff options
author | Marek Szyprowski <[email protected]> | 2017-07-12 12:09:22 +0200 |
---|---|---|
committer | Inki Dae <[email protected]> | 2017-08-09 07:34:23 +0900 |
commit | 1899bd57570a3e610db574b57d1e7e66378aa908 (patch) | |
tree | 39c0e986685fb3ebb6f533dd8f55db16d0db9bfa /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 5669b9989eaa664cacbad6a85631550bccdad963 (diff) |
drm/exynos: forbid creating framebuffers from too small GEM buffers
Add a check if the framebuffer described by the provided drm_mode_fb_cmd2
structure fits into provided GEM buffers. Without this check it is
possible to create a framebuffer object from a small buffer and set it to
the hardware, what results in displaying system memory outside the
allocated GEM buffer.
Signed-off-by: Marek Szyprowski <[email protected]>
Reviewed-by: Tobias Jakobi <[email protected]>
Signed-off-by: Inki Dae <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions