In upstream the msm, for bpc greater than 8 are not supported yet,
although the hardware block supports this. Remove them until we
support them.
Fixes: b0e71c2637d1 ("drm/msm/dsi: Allow values of 10 and 12 for bits per
component")
Signed-off-by: Pengyu Luo <[email protected]>
---
drivers/gpu/drm/msm/dsi/dsi_host.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c
b/drivers/gpu/drm/msm/dsi/dsi_host.c
index e8e83ee61e..b60b26ddb0 100644
--- a/drivers/gpu/drm/msm/dsi/dsi_host.c
+++ b/drivers/gpu/drm/msm/dsi/dsi_host.c
@@ -1824,12 +1824,9 @@ static int dsi_populate_dsc_params(struct msm_dsi_host
*msm_host, struct drm_dsc
switch (dsc->bits_per_component) {
case 8:
- case 10:
- case 12:
/*
- * Only 8, 10, and 12 bpc are supported for DSC 1.1 block.
- * If additional bpc values need to be supported, update
- * this quard with the appropriate DSC version verification.
+ * In the upstream msm, only 8 bpc is supported for DSC 1.1/1.2
+ * block.
*/
break;
default:
--
2.53.0