mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-23 15:56:33 +00:00
tests/kms_force_connector: Fixes
The edid we inject stayed the same, but the kernel started to list more modes for it. No idea whether that's the right thing here since I'm not really an EDID expert. But then again the testcase wants to check that the injection works, not validate the kernel's parser. v2: Only check the preferred mode for more future-proofing (Thomas). v3: Clarify commit message (Jani). Cc: Thomas Wood <thomas.wood@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
This commit is contained in:
parent
02cdd9899d
commit
cdb398b5b9
@ -150,10 +150,8 @@ int main(int argc, char **argv)
|
||||
vga_connector->connector_id);
|
||||
|
||||
CHECK_MODE(temp->modes[0], 1920, 1080, 60);
|
||||
CHECK_MODE(temp->modes[1], 1280, 720, 60);
|
||||
CHECK_MODE(temp->modes[2], 1024, 768, 60);
|
||||
CHECK_MODE(temp->modes[3], 800, 600, 60);
|
||||
CHECK_MODE(temp->modes[4], 640, 480, 60);
|
||||
/* Don't check non-preferred modes to avoid to tight coupling
|
||||
* with the in-kernel EDID parser. */
|
||||
|
||||
drmModeFreeConnector(temp);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user