disp: msm: sde: Add SSPP Gamut support using new opcode
A new LUTDMA opcode is added to LUTDMA V2 to speed up certain LUT programming. This change updates the SSPP Gamut LUT programming using the new opcode and new LUT BUS. Change-Id: I8b88483dc3acbfcdbd6f441bc2105f4368fa42bb Signed-off-by: Ping Li <pingli@codeaurora.org> Signed-off-by: Christopher Braga <cbraga@codeaurora.org>
这个提交包含在:
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include "sde_hwio.h"
|
||||
@@ -1085,6 +1085,15 @@ static void _setup_layer_ops_colorproc(struct sde_hw_pipe *c,
|
||||
reg_dmav1_setup_vig_gamutv6;
|
||||
else
|
||||
c->ops.setup_vig_gamut = NULL;
|
||||
} else if (c->cap->sblk->gamut_blk.version ==
|
||||
(SDE_COLOR_PROCESS_VER(0x6, 0x1))) {
|
||||
ret = reg_dmav1_init_sspp_op_v4(SDE_SSPP_VIG_GAMUT,
|
||||
c->idx);
|
||||
if (!ret)
|
||||
c->ops.setup_vig_gamut =
|
||||
reg_dmav2_setup_vig_gamutv61;
|
||||
else
|
||||
c->ops.setup_vig_gamut = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户