mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
kms_panel_fitting: Enable connectors with "scaling mode" property set.
Enable testing on all connectors that have the "scaling mode" property set. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93012 Signed-off-by: Robert Foss <robert.foss@collabora.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
This commit is contained in:
parent
2254aff17e
commit
ec83ef9167
@ -139,9 +139,18 @@ static void test_panel_fitting(data_t *d)
|
||||
|
||||
for_each_connected_output(display, output) {
|
||||
drmModeModeInfo *mode, native_mode;
|
||||
bool scaling_mode_set;
|
||||
|
||||
if (output->config.connector->connector_type !=
|
||||
DRM_MODE_CONNECTOR_eDP)
|
||||
scaling_mode_set = kmstest_get_property(d->drm_fd,
|
||||
output->config.connector->connector_id,
|
||||
DRM_MODE_OBJECT_CONNECTOR,
|
||||
"scaling mode",
|
||||
NULL,
|
||||
NULL,
|
||||
NULL);
|
||||
|
||||
/* Check that the "scaling mode" property has been set. */
|
||||
if (!scaling_mode_set)
|
||||
continue;
|
||||
|
||||
pipe = output->config.pipe;
|
||||
|
Loading…
x
Reference in New Issue
Block a user