aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorCQ Tang <[email protected]>2022-03-15 18:14:24 +0000
committerMatthew Auld <[email protected]>2022-03-16 17:50:40 +0000
commit51dc0e1a58798417e794d67b7193fe8f01cc2c86 (patch)
treebc5a7e782921d957da1df2b9ecab5c3d0c32a033 /tools/perf/scripts/python/export-to-postgresql.py
parentecbf20604848eccc007030766efaed2bb5533191 (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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions