]> exis.tech > repos - linux.git/commit
fbdev: goldfishfb: fail pan display on base-update timeout
authorPengpeng Hou <pengpeng@iscas.ac.cn>
Thu, 25 Jun 2026 03:01:02 +0000 (11:01 +0800)
committerHelge Deller <deller@gmx.de>
Thu, 25 Jun 2026 16:29:14 +0000 (18:29 +0200)
commita11aa7b85021f5456fad8ec81467bcbdd2ac6945
treed4bf30cd45acc6aabca8e11a639dbeb4eb61c0b6
parent8fdc8c2057eea08d40ce2c8eed41ff9e451c65c2
fbdev: goldfishfb: fail pan display on base-update timeout

goldfish_fb_pan_display() waits for the device to acknowledge the new
framebuffer base, but it only logs a timeout and still reports success.
The probe path also ignores the initial pan-display result before
registering the framebuffer.

Return -ETIMEDOUT when the base-update acknowledgment does not arrive,
and propagate that error from the initial probe-time base update before
the framebuffer is published.

Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/goldfishfb.c