Re: [PATCH] drm/qxl: reapply cursor after resetting primary

2017-11-27 Thread Ray Strode
Hi, On Mon, Nov 27, 2017 at 4:07 PM Ray Strode wrote: ... > This commit changes the driver to reapply the cursor any time a new > primary is created. It achieves this by keeping a reference to the > cursor bo on the qxl_crtc struct. So i forgot this is on top of a small leak fix, too. For clarit

[PATCH] drm/qxl: reapply cursor after resetting primary

2017-11-27 Thread Ray Strode
From: Ray Strode QXL associates mouse state with its primary plane. Destroying a primary plane and putting a new one in place has the side effect of destroying the cursor as well. This commit changes the driver to reapply the cursor any time a new primary is created. It achieves this by keeping