mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 02:16:17 +00:00
kms_frontbuffer_tracking: Remove hardcoded PIPE_A
Use the pipe which is given from the possible_crcs for that connected port instead. On BSW there are constrains for the crtc<-->connector, this fix make this test passing on BSW. v2 (from Paulo): bikeshed the blank lines. Signed-off-by: Gabriel Feceoru <gabriel.feceoru@intel.com> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
This commit is contained in:
parent
5267f24471
commit
55fa16b654
@ -1431,8 +1431,9 @@ static void setup_sink_crc(void)
|
|||||||
static void setup_crcs(void)
|
static void setup_crcs(void)
|
||||||
{
|
{
|
||||||
enum pixel_format f;
|
enum pixel_format f;
|
||||||
|
int crtc_idx = kmstest_get_crtc_idx(drm.res, prim_mode_params.crtc_id);
|
||||||
|
|
||||||
pipe_crc = igt_pipe_crc_new(0, INTEL_PIPE_CRC_SOURCE_AUTO);
|
pipe_crc = igt_pipe_crc_new(crtc_idx, INTEL_PIPE_CRC_SOURCE_AUTO);
|
||||||
|
|
||||||
setup_sink_crc();
|
setup_sink_crc();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user