[Intel-gfx] [PATCH 8/8] drm/i915/skl: Provide a Skylake version of get_plane_config()

Daniel Vetter daniel at ffwll.ch
Tue Jan 20 00:06:08 PST 2015


On Mon, Jan 19, 2015 at 06:27:49PM +0000, Damien Lespiau wrote:
> On Fri, Oct 31, 2014 at 11:38:34AM +0000, Tvrtko Ursulin wrote:
> > >+	default:
> > >+		BUG();
> > 
> > As some other people I also dislike BUGs very much. WARN and put no fb on
> > screen instead?
> 
> Sure, removed the BUG().

MISSING_CASE(); is what you're looking for for this.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


More information about the Intel-gfx mailing list