mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-27 08:00:20 +00:00
tests: use "auto" pipe CRC source
Makes stuff work on DP ports on gmch platforms automatically. Cc: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
+2
-10
@@ -110,16 +110,8 @@ static igt_pipe_crc_t *create_crc(data_t *data, int crtc_idx)
|
||||
igt_pipe_crc_t *crc;
|
||||
|
||||
crc = igt_pipe_crc_new(&data->debugfs, data->drm_fd, crtc_idx,
|
||||
INTEL_PIPE_CRC_SOURCE_PF);
|
||||
if (crc)
|
||||
return crc;
|
||||
|
||||
crc = igt_pipe_crc_new(&data->debugfs, data->drm_fd, crtc_idx,
|
||||
INTEL_PIPE_CRC_SOURCE_PIPE);
|
||||
if (crc)
|
||||
return crc;
|
||||
|
||||
return NULL;
|
||||
INTEL_PIPE_CRC_SOURCE_AUTO);
|
||||
return crc;
|
||||
}
|
||||
|
||||
static void display_init(data_t *data)
|
||||
|
||||
Reference in New Issue
Block a user