mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-27 08:00:20 +00:00
lib/igt_debugfs: drop drm_fd argument from igt_pipe_crc_new
It's nowhere used and removing it gives us a cleaner, more orthogonal interface. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
+1
-1
@@ -352,7 +352,7 @@ static bool prepare_crtc(data_t *data, uint32_t connector_id, enum test_mode mod
|
||||
data->pipe_crc[data->crtc_idx] = NULL;
|
||||
|
||||
pipe_crc = igt_pipe_crc_new(&data->debugfs,
|
||||
data->drm_fd, data->crtc_idx,
|
||||
data->crtc_idx,
|
||||
INTEL_PIPE_CRC_SOURCE_AUTO);
|
||||
if (!pipe_crc) {
|
||||
printf("auto crc not supported on this connector with crtc %i\n",
|
||||
|
||||
Reference in New Issue
Block a user