]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Enable pipe gamma for sprites
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 19 Nov 2013 02:32:38 +0000 (18:32 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 21 Nov 2013 08:09:37 +0000 (09:09 +0100)
commit00c2fcebfa45fc7bbacd74818917ba2aa3fdd981
treeeae1a50a7955d7a94afc1566ac231278b54e2e78
parent249efabf5941acd0fe1c848b9af2dd8d3735486b
drm/i915: Enable pipe gamma for sprites

We send the primary and cursor plane data through the gamma unit.
In order to get matching output from sprites, also send the sprite
data through the gamma unit.

In the future we should add some properties to control this
explicitly, and also add properties for the per-sprite gamma ramps
what have you, but for now this seems like a reasonable thing to do.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_sprite.c