diff options
| author | Puranam V G Tejaswi <quic_pvgtejas@quicinc.com> | 2023-02-14 16:09:02 +0530 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2023-05-02 21:01:53 +0300 |
| commit | 59ceabe0d2423b929530d080c75a69f6feedabf0 (patch) | |
| tree | 447f5f5ce313ea66b4036feb4e7008daa1afffe2 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | d1f19956d6b9d29e0355fe10aa8eb29c75a0851a (diff) | |
msm: kgsl: Use dma_buf_get() to get dma_buf structure
Currently we don't ensure if vma->vm_file is associated with dma_buf. This
can cause issues later when private_data from a non dma_buf file is used as
dma_buf structure. Hence get the fd that is associated with vma->vm_file
and use dma_buf_get() to get pointer to dma_buf structure. dma_buf_get()
ensures that the file from the input fd is associated with dma_buf.
Change-Id: Ib78aef8b16bedca5ca86d3a132278ff9f07dce73
Signed-off-by: Puranam V G Tejaswi <quic_pvgtejas@quicinc.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
