drm/msm/sde: update catalog for post processing
Update catalog for post processing features.
Change-Id: I6b43ee213e504780f8e6bacee0ca7e370a381772
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
diff --git a/drivers/gpu/drm/msm/sde/sde_hw_sspp.c b/drivers/gpu/drm/msm/sde/sde_hw_sspp.c
index b06834a..a478a7c 100644
--- a/drivers/gpu/drm/msm/sde/sde_hw_sspp.c
+++ b/drivers/gpu/drm/msm/sde/sde_hw_sspp.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -125,15 +125,15 @@
case SDE_SSPP_CSC:
*idx = sblk->csc_blk.base;
break;
- case SDE_SSPP_PA_V1:
- *idx = sblk->pa_blk.base;
- break;
- case SDE_SSPP_HIST_V1:
- *idx = sblk->hist_lut.base;
+ case SDE_SSPP_HSIC:
+ *idx = sblk->hsic.base;
break;
case SDE_SSPP_PCC:
*idx = sblk->pcc_blk.base;
break;
+ case SDE_SSPP_MEMCOLOR:
+ *idx = sblk->memcolor.base;
+ break;
default:
rc = -EINVAL;
}
@@ -148,8 +148,7 @@
u32 opmode;
if (!_sspp_subblk_offset(ctx, SDE_SSPP_SCALER_QSEED2, &idx) &&
- (test_bit(SDE_SSPP_CSC, &ctx->cap->features) ||
- test_bit(SDE_SSPP_PA_V1, &ctx->cap->features))) {
+ test_bit(SDE_SSPP_CSC, &ctx->cap->features)) {
opmode = SDE_REG_READ(&ctx->hw, SSPP_VIG_OP_MODE + idx);
if (en)
@@ -526,9 +525,8 @@
if (test_bit(SDE_SSPP_CSC, &features))
ops->setup_csc = sde_hw_sspp_setup_csc;
- if (test_bit(SDE_SSPP_PA_V1, &features)) {
+ if (test_bit(SDE_SSPP_SCALER_QSEED2, &features))
ops->setup_sharpening = sde_hw_sspp_setup_sharpening;
- }
}
static struct sde_sspp_cfg *_sspp_offset(enum sde_sspp sspp,