[PATCH 10/37] drm/nouveau: Fix crtc->primary->fb vs. drm_fb fail

2016-11-30 Thread Daniel Vetter
On Fri, Nov 18, 2016 at 09:52:46PM +0200, ville.syrjala at linux.intel.com wrote: > From: Ville Syrjälä > > So it looks like the code is trying to pick between the passed in fb and > crtc->primary->fb based on that funky 'bool atomic'. But later it will > mix uses of both drm_fb (which was pic

[PATCH 10/37] drm/nouveau: Fix crtc->primary->fb vs. drm_fb fail

2016-11-18 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä So it looks like the code is trying to pick between the passed in fb and crtc->primary->fb based on that funky 'bool atomic'. But later it will mix uses of both drm_fb (which was picked by the aforementioned logic) and crtc->primary->fb. So looks like a bug to me. Let's make