All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH v2 0/2] tests/fbdev: Additional tests for resolution and panning
@ 2021-10-14 13:45 Thomas Zimmermann
  2021-10-14 13:45 ` [igt-dev] [PATCH v2 1/2] tests/fbdev: Test for validity of video mode settings Thomas Zimmermann
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Thomas Zimmermann @ 2021-10-14 13:45 UTC (permalink / raw)
  To: igt-dev, ville.syrjala; +Cc: Thomas Zimmermann

Add addtional tests for resolution and panning operations on fbdev
devices. Succeed on successful operations. Fail on invalid operations
or state.

DRM's simpledrm driver exposed a bug in DRM's fbdev overallocation code,
[1] which is required for fbdev page flipping. The new test cases intent
to test panning and page flipping, and detect such issues early.

Tested with the current simpledrm and a hacked version that supports fbdev
overallocation. This will also help to implement the panning functionality
for real in simpledrm and other drivers.

v2:
	* test horizontal resolution against line length (Ville)
	* respect FB_VMODE_YWRAP (Ville)
	* respect {x,y}panstep (Ville)

[1] https://lore.kernel.org/dri-devel/20211005070355.7680-1-tzimmermann@suse.de/

Thomas Zimmermann (2):
  tests/fbdev: Test for validity of video mode settings
  tests/fbdev: Add tests for display panning

 tests/fbdev.c | 184 +++++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 176 insertions(+), 8 deletions(-)

--
2.33.0

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-10-22  7:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-14 13:45 [igt-dev] [PATCH v2 0/2] tests/fbdev: Additional tests for resolution and panning Thomas Zimmermann
2021-10-14 13:45 ` [igt-dev] [PATCH v2 1/2] tests/fbdev: Test for validity of video mode settings Thomas Zimmermann
2021-10-14 13:45 ` [igt-dev] [PATCH v2 2/2] tests/fbdev: Add tests for display panning Thomas Zimmermann
2021-10-20 14:17   ` Ville Syrjälä
2021-10-22  7:55     ` Thomas Zimmermann
2021-10-14 18:21 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/fbdev: Additional tests for resolution and panning (rev2) Patchwork
2021-10-14 22:02 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2021-10-20 14:08 ` [igt-dev] [PATCH v2 0/2] tests/fbdev: Additional tests for resolution and panning Thomas Zimmermann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.