diff options
| author | Michael J. Ruhl <[email protected]> | 2020-04-17 15:51:07 -0400 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2020-04-18 07:49:11 +0100 |
| commit | 31a02eb70b8d9e68c848f2543fa8e745073363e2 (patch) | |
| tree | 2c8790e6f8858f7ebf79d2dfafa3df84c905935c /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 7479f3c90a6d6f0a8c9b8a53b3856ac1002a8587 (diff) | |
drm/i915: Refactor setting dma info to a common helper
DMA_MASK bit values are different for different generations.
This will become more difficult to manage over time with the open
coded usage of different versions of the device.
Fix by:
disallow setting of dma mask in AGP path (< GEN(5) for i915,
add dma_mask_size to the device info configuration,
updating open code call sequence to the latest interface,
refactoring into a common function for setting the dma segment
and mask info
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Michael J. Ruhl <[email protected]>
cc: Brian Welty <[email protected]>
cc: Daniele Ceraolo Spurio <[email protected]>
Signed-off-by: Chris Wilson <[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