[Intel-gfx] [PATCH] drm/i915: add color key support v4

Daniel Vetter daniel at ffwll.ch
Wed Dec 14 00:00:11 CET 2011


On Tue, Dec 13, 2011 at 02:09:11PM -0800, Jesse Barnes wrote:
> Add new ioctls for getting and setting the current destination color
> key.  This allows for simple overlay display control by matching a color
> key value in the primary plane before blending the overlay on top.
> 
> v2: remove unnecessary mutex acquire/release around reg accesses
> v3: add support for full color key management
> v4: fix copy & paste bug in snb_get_colorkey
>     don't bother checking min/max values against docs as the docs are likely
>     wrong (how could we handle 10bpc surface formats?)

With the changes in v4 I can actually slap an r-b onto this and fix up
Jesse's a bit over-eager use of that tag ;-)

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48



More information about the Intel-gfx mailing list