diff options
author | 2015-07-09 19:29:02 +0100 | |
---|---|---|
committer | 2015-07-21 08:36:12 +0200 | |
commit | ea70299d6e6961dd6adce2cbdf64e6e8a7ea97c0 (patch) | |
tree | 5192c7bdcbc986b814e33f5dced6356b2a28fd12 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Partially revert "drm/i915: s/mdelay/msleep/" in ilk rps code (diff) | |
download | linux-dev-ea70299d6e6961dd6adce2cbdf64e6e8a7ea97c0.tar.xz linux-dev-ea70299d6e6961dd6adce2cbdf64e6e8a7ea97c0.zip |
drm/i915: Add i915_gem_object_create_from_data()
i915_gem_object_create_from_data() is a generic function to save data
from a plain linear buffer in a new pageable gem object that can later
be accessed by the CPU and/or GPU.
We will need this for the microcontroller firmware loading support code.
Derived from i915_gem_object_write(), originally by Alex Dai
v2:
Change of function: now allocates & fills a new object, rather than
writing to an existing object
New name courtesy of Chris Wilson
Explicit domain-setting and other improvements per review comments
by Chris Wilson & Daniel Vetter
v4:
Rebased
Issue: VIZ-4884
Signed-off-by: Alex Dai <yu.dai@intel.com>
Signed-off-by: Dave Gordon <david.s.gordon@intel.com>
Reviewed-by: Tom O'Rourke <Tom.O'Rourke@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions