Hi

Am 13.11.25 um 16:49 schrieb Ian Forbes:
On Wed, Nov 12, 2025 at 3:23 AM Thomas Zimmermann <[email protected]> wrote:
Hi

Am 07.11.25 um 21:46 schrieb Ian Forbes:
Sets up VRAM as the scanout buffer then switches to legacy mode.
Please use make this a bit more elaborate.

Please also note that you don't set up VRAM, but return the scanout
information for the given plane. That could be a difference if there are
multiple planes.

"VRAM" is a per device. It's not tied to a plane which is why we check
the display
unit ID to call this only once. It requires setup by mapping the mmio
region and poking
a register (CONFIG_DONE = false). I'm not sure how else to describe it
other than
"setup".

Yeah, sure. The question was: does it still work if you run this code for multiple planes? The DRM core will try to find multiple scanout buffers, if necessary.


Usually, you want to look at the plane's current framebuffer for this
information.

The Screen Target (default) mode allows resolutions larger than
legacy/register mode can handle.
These sizes are guaranteed to be safe for legacy mode.

Ok.

Best regards
Thomas


--
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com
GF: Jochen Jaser, Andrew McDonald, Werner Knoblich, (HRB 36809, AG Nürnberg)


Reply via email to