[PATCH 0/4] drm/i915: Make video sprites survive a modeset

Jesse Barnes jbarnes at virtuousgeek.org
Thu May 24 11:35:35 PDT 2012


On Thu, 24 May 2012 21:29:46 +0300
ville.syrjala at linux.intel.com wrote:

> Currently the video sprites appear to get disabled on modeset more by
> accient than by design.
> 
> With the current API that behaviour makes very little sense to me.
> You first enable some plane, and then it can get disabled due to some
> unrelated operation.
> 
> So these patches change the behaviour so that planes survive a modeset.
> There's a new hook to make sure they get disabled when swithing
> back to fbdev to show a panic oops.

Yeah that's not really a design requirement; the assumption was that
the display manager would do the right thing in any case (both mode
sets and plane sets are privileged ops).  When doing a mode set, the
plane parameters will probably need to be changed anyway...

But keeping it on with some kind of sensible behavior makes the simple
cases easier.

-- 
Jesse Barnes, Intel Open Source Technology Center


More information about the dri-devel mailing list