Hi Icenowy, On Thu, 03 Sep 2026 20:07:32 +0800, Icenowy Zheng wrote: > 在 2026-08-09日的 21:14 +0800,Cody Kang via B4 Relay写道: > > From: Cody Kang <[email protected]> [...] > > + drm->mode_config.min_width = 1; > > + drm->mode_config.min_height = 1; > > + /* K3 user manual: each DPU scans out at most 3840x2160@60 > > */ > > + drm->mode_config.max_width = 3840; > > + drm->mode_config.max_height = 2160; > > This is for the biggest possible framebuffer instead of the possible > scanout pixel count. > > The width here should be based on the maximum allowed pitch of the > display controller instead of the single-GPU maximum size, otherwise it > won't be able to drive two 3840x2160 screens in a side-by-side > configuration because this will create a 7680x2160 framebuffer.
Thanks for the review. Agreed; will fix in v3. v3 will take max_width/max_height from what the RDMA registers can address (a 16-bit byte stride and 16-bit image dimensions), and move the 3840x2160 limit into the CRTC's mode_valid. Cody
