diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-06-16 17:08:18 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-06-20 19:07:48 +0300 |
commit | 39432640ca99e952095b60baf219c8f17c38a55d (patch) | |
tree | 9381bf1d76eed5538c9fc961e07f5798ba12d00e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 679df6f19f1ebf575f440a704bcb9fe5b6c1f7ed (diff) |
drm/i915: Beef up SDVO/HDMI port checks
The SDVO code already warns when the port in question doesn't
actually support SDVO. Let's make that also bail the encoder
registration like the generic assert_port_valid() we added.
And add a similar thing for g4x HDMI, mainly because on g4x
itsefl port D only supports DP but not SDVO/HDMI. For the
other platforms the generic port_mask check should actually
be sufficient, but since we're here might as well list the
ports.
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230616140820.11726-6-ville.syrjala@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions