diff options
| author | Daniel Vetter <[email protected]> | 2014-10-16 12:28:18 +0200 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2014-10-24 16:34:04 +0200 |
| commit | 343673818098b80e5adca6a93d4e112d907cd293 (patch) | |
| tree | d34aa63d43711c0edf2758159b9409e11cc678a7 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 101b376d358e2f724db5e0ac4d207079b16c4754 (diff) | |
drm/i915: Document that mmap forwarding is discouraged
Too many new drm driver writers seem to look at i915 for inspiration.
But we have two ways to do mmap, so discourage readers from the old,
ugly version. In a new driver we'd just expose two mmap offsets per
object, one for the gtt map and the other for the cpu map.
v2: Make it clear that i915 does cpu mmaps this way for past
cluelessness^W^W historical reasons. Asked for by Jani.
Cc: "Cheng, Yao" <[email protected]>
Cc: David Herrmann <[email protected]>
Reviewed-by: David Herrmann <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions