diff options
author | Jani Nikula <jani.nikula@intel.com> | 2024-11-12 13:10:39 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2024-11-12 17:22:48 +0200 |
commit | ca743f5faca00a00ba17b115db1f1cea5930f622 (patch) | |
tree | 4fe8ae10d7251a1a3d6eaefcc01f9bd77a5cfdaa /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 45f9b3e8cb43bdb9c0cf430199ed19ba2fc0252d (diff) |
drm/i915/mst: introduce to_primary_encoder() and to_primary_dp()
Add helpers to_primary_encoder() and to_primary_dp() to convert fake MST
encoder pointers to primary encoder and DP pointers, respectively, and
use them.
The main point is to highlight the primary encoder and DP usage. Very
few places actually need the struct intel_dp_mst_encoder pointer, or the
primary struct intel_digital_port, so ditch them where possible for
clarity.
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/ff8786c04bae053055783f720f89a4d9f9815c70.1731409802.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions