diff options
author | Mika Kuoppala <mika.kuoppala@linux.intel.com> | 2017-02-28 17:28:07 +0200 |
---|---|---|
committer | Mika Kuoppala <mika.kuoppala@intel.com> | 2017-03-03 16:42:38 +0200 |
commit | 3e490042a80f82df80141fce1dbef1baa7850160 (patch) | |
tree | 7b908fbf3c6a265534b74aa2b43b267f307b1df7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 0542524944c2ae3264ca8e6b5f0c7a111f09a2c2 (diff) |
drm/i915/gtt: Make I915_PDPES_PER_PDP inline function
The macro takes a vm pointer at some sites, and dev_priv on others
We were saved as the internal macro never deferences the pointer
given.
As the number of pdpes depend on vm configuration, make it
as a inline function that accepts vm pointer.
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wsilon.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1488295691-9404-1-git-send-email-mika.kuoppala@intel.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions