New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 839020 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Disable degamma/gamma in YUV2YUV pipeline

Project Member Reported by dcasta...@chromium.org, May 2 2018

Issue description

We recently exposed a "PLANE_CTM" KMS property that allows us to set the R2R color matrix conversion part in the YUV2YUV_WIN pipeline.

We are planning to use this property to emulate a CRTC color conversion matrix, that we want to use for night light: crrev.com/c/1037403

When we enable the RGB2RGB conversion step, the color transformation is applied after a nonlinear to linear gamma conversion, and before a linear to nonlinear conversion.

While this makes sense, it doesn't match what we currently do in the compositor, where we apply the conversion matrix in a nonlinear color space just before outputting the pixel in the fragment shader.

I noticed it is possible to change the gamma mode in YUV2YUV using winX_yuv2yuv_gamma_mode bit, but we'd like to disable it completely.

Is it possible to disable those two steps completely? Can this be achieved specifying an identity gamma LUT via VOP_GAMMA_LUT_ADDR?
 
Components: OS>Kernel>Display
Owner: dcasta...@chromium.org
Cc: ovanieva@chromium.org
Labels: -Pri-2 Pri-1
Status: Assigned (was: Untriaged)
This bug has an owner, thus, it's been triaged. Changing status to "assigned".

Sign in to add a comment