intel/display: use phys resolution for capture

In the "<merge>" case, only a subset of the actual
framebuffer was (intentionally) captured to reduce cpu and memory bandwith.
The new blit tool however requires, by now, that the capture size must
be identical to the framebuffer in use.

Issue #5501
This commit is contained in:
Alexander Boettcher 2025-04-02 13:57:38 +02:00 committed by Norman Feske
parent d726d70795
commit 33fab30a1f

View File

@ -569,7 +569,7 @@ void lx_emul_i915_framebuffer_ready(unsigned const connector_id,
drv.ids.apply<Connector>(id, [&](Connector &conn) {
Capture::Area const area (xres, yres);
Capture::Area const area (phys_width, phys_height);
Capture::Area const area_phys(phys_width, phys_height);
bool const merge = Capture::Connection::Label(conn_name) == "mirror_capture";