diff options
| author | CQ Tang <[email protected]> | 2022-03-15 18:14:24 +0000 |
|---|---|---|
| committer | Matthew Auld <[email protected]> | 2022-03-16 17:50:40 +0000 |
| commit | 51dc0e1a58798417e794d67b7193fe8f01cc2c86 (patch) | |
| tree | bc5a7e782921d957da1df2b9ecab5c3d0c32a033 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | ecbf20604848eccc007030766efaed2bb5533191 (diff) | |
drm/i915/display: Check mappable aperture when pinning preallocated vma
When system does not have mappable aperture, ggtt->mappable_end=0. In
this case if we pass PIN_MAPPABLE when pinning vma, the pinning code
will return -ENOSPC. So conditionally set PIN_MAPPABLE if HAS_GMCH().
Suggested-by: Chris P Wilson <[email protected]>
Signed-off-by: CQ Tang <[email protected]>
Cc: Radhakrishna Sripada <[email protected]>
Cc: Ap Kamal <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Signed-off-by: Matthew Auld <[email protected]>
Cc: Thomas Hellström <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Reviewed-by: Nirmoy Das <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions