Re: [PATCH xf86-qxl] Fix crash when calling CrtcRotate()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 03, 2014 at 06:04:17PM +0200, Marc-André Lureau wrote:
> Although the driver doesn't support rotation, drmmode_set_mode_major may
> call CrtcRotate when the crtc mode doesn't fit on screen.
> 
> This will trigger a call to crtc->shadow_allocate() that will result in
> SEGV since our driver doesn't implement it. Instead, let's fail
> gracefully.

A bit confused that we try to call something that cannot work in our
code. Can drmmode_set_mode_major report an error rather than attempting
to rotate?

Christophe

Attachment: pgpl3Sq_HzDYH.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]