summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
diff options
context:
space:
mode:
authorMichael Strauss <michael.strauss@amd.com>2019-07-26 12:04:12 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-08-15 10:57:36 -0500
commit6d83a32d0bdd39cdcc0d70d7b719cd2ffb419268 (patch)
tree45f2d1bcc200d7c8565557622bcb7497b339e05a /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
parent30b7200c12fd2c951bcbc5bf0eefc20434917f28 (diff)
downloadlinux-6d83a32d0bdd39cdcc0d70d7b719cd2ffb419268.tar.gz
linux-6d83a32d0bdd39cdcc0d70d7b719cd2ffb419268.tar.bz2
linux-6d83a32d0bdd39cdcc0d70d7b719cd2ffb419268.zip
drm/amd/display: Enable MPO with pre-blend color processing (RGB)
[Why] DCN10 performs color processing before MPC combination, causes color shift in RGB colorspaces when positive brightness offset is applied However, YCbCr is still unfixed and remains disabled [How] Add layerIndex to dc_plane_state and dc_plane_info structs Re-enable MPO when brightness is adjusted and colorspace is not YCbCr Set rear plane's brightness offset to 0 when front plane visible Signed-off-by: Michael Strauss <michael.strauss@amd.com> Reviewed-by: Anthony Koo <Anthony.Koo@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Acked-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions