Bug 88921 - X fails to start on QEMU/KVM with cirrus KMS since 3.19-rc
Summary: X fails to start on QEMU/KVM with cirrus KMS since 3.19-rc
Status: NEW
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/other (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
Depends on:
Reported: 2015-02-02 16:28 UTC by Takashi Iwai
Modified: 2015-02-02 16:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Note You need to log in before you can comment on or make changes to this bug.
Description Takashi Iwai 2015-02-02 16:28:01 UTC
X modesetting driver fails to start with cirrus KMS on QEMU/KVM since 3.19-rc.
The culprit is the commit 8975626ea35adcca561f8a81dedccfbc5dd8ec72
    drm/cirrus: allow 32bpp framebuffers for cirrus drm

Reverting this commit makes X working again.

X modesetting driver seems to try to open 1024x768x32 graphics, where the pitch is 4096 and greater than max_pitch (4088) defined in cirrus_check_framebuffer().
And it doesn't fall back to 24bpp as the patch expected.

Tested with 3.19-rc7 with qemu 2.1 -vga cirrus option.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.