diff options
author | Imre Deak <imre.deak@intel.com> | 2016-10-24 19:33:30 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2016-10-26 12:41:01 +0300 |
commit | a5d94b83ec709dbd90f17cba79142fde123d3869 (patch) | |
tree | 3e8bf393d99a22c4b83a03577472774929acd6d6 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 12a47a422862214d3a715a0bd93140b8176dcdc9 (diff) |
drm/i915/lspcon: Get DDC adapter via container_of() instead of cached ptr
We can use the container_of() magic to get to the DDC adapter, so no
need for caching a pointer to it. We'll also need to get at the intel_dp
ptr in the following patch, so add a helper that can be used for both
purposes.
Cc: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1477326811-30431-8-git-send-email-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions