diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-01-18 19:11:38 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-02-20 00:21:49 +0100 |
commit | 86d3efce2c37d3fb98f75f56f21e6ab75c745bb6 (patch) | |
tree | 3af18f73d13ca0a380dd4c9b71f58f447a4d14da /drivers/char | |
parent | ac4199e0f047546aa40172785e26c82b54bbe811 (diff) | |
download | blackbird-op-linux-86d3efce2c37d3fb98f75f56f21e6ab75c745bb6.tar.gz blackbird-op-linux-86d3efce2c37d3fb98f75f56f21e6ab75c745bb6.zip |
drm/i915: Implement pipe CSC based limited range RGB output
HSW no longer has the PIPECONF bit for limited range RGB output.
Instead the pipe CSC unit must be used to perform that task.
The CSC pre offset are set to 0, since the incoming data is full
[0:255] range RGB, the coefficients are programmed to compress the
data into [0:219] range, and then we use either the CSC_MODE black
screen offset bit, or the CSC post offsets to shift the data to
the correct [16:235] range.
Also have to change the confiuration of all planes so that the
data is sent through the pipe CSC unit. For simplicity send the
plane data through the pipe CSC unit always, and in case full
range output is requested, the pipe CSC unit is set up with an
identity transform to pass the plane data through unchanged.
I've been told by some hardware people that the use of the pipe
CSC unit shouldn't result in any measurable increase in power
consumption numbers.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions