Message ID | 20240222194025.25329-11-quic_parellan@quicinc.com |
---|---|
State | Accepted |
Commit | 683d374582e3e8afc1b8547789e0b8e0b5b3f6fe |
Headers | show
Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9C2C36AFAA for <linux-arm-msm@vger.kernel.org>; Thu, 22 Feb 2024 19:40:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708630857; cv=none; b=N+kPIR0nLPtpGNvOQlp8iXo4Hn/7gAq6oULd9rtw9c8Se8OQi8NIAWCC8XDPBEGB/fcRinVua0miyWrFCZft76vKQt1Pt75m3AhPWIoORtme+8a/yxtRr8RHTEh1cEf7HN4NKb/ObZcQRsr5Zfh7Tj1jdaMr7dP22DD8XSGeAZc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708630857; c=relaxed/simple; bh=Oh3s9npczWZ7xjzBd4cUzR2rfj11c77AJ3f78Tg4Sy0=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=GxUBer6YIzXxJ4IpxVNOssCJd7lrQFn4SEki2PnBC2w22BqrRdGfIB+RozpKqkUKNUWEKCkegzDtuIt2NnioCHJhFJoWGZSnlCKERqwMgHI2FZJPqmx+XQw09FFkpHGV2swjfQgsAxpjErJqCErbF53GX6vhKA4dEK9nCqBDccs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=M8cTM3BM; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="M8cTM3BM" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41MGqhar002357; Thu, 22 Feb 2024 19:40:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= qcppdkim1; bh=cl7cOJSM6MK5Rexr8c1fnc2k6LGE3E+fJPkJR3TgQIs=; b=M8 cTM3BM5dMdwZmFGI0MqlPtX/kvUvMRoa4cf6Z6jMPz8jyVLGifdm+Y+K2UMpOzo7 QuLceegj+laJO0pCN6j0TaVphKB5r9dGLijczy/4OLHfqUz75VH7ualulcqVb/hV g7vvNt1d7qT0q0C05qHUuIlxhQvHN2c5kcA4RIPc+7D88XmeMccPhff8yzROY8d+ exJkv2RV1RKPtCU7BLtufp8dWuNaymJgSEaghY1ci6Qquecei2NOy+B7x1pQhjjn APciXxWO8Q70hJ3ycUI1a21+Dco27Z33zHuJtAADkJgQHTxwG5xXEVmJffj8vLY9 VWvztMmacC9XIjJAzSXg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3we24aj9ff-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Feb 2024 19:40:50 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 41MJenWj022714 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Feb 2024 19:40:49 GMT Received: from hu-parellan-lv.qualcomm.com (10.49.16.6) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 22 Feb 2024 11:40:49 -0800 From: Paloma Arellano <quic_parellan@quicinc.com> To: <freedreno@lists.freedesktop.org> CC: Paloma Arellano <quic_parellan@quicinc.com>, <linux-arm-msm@vger.kernel.org>, <dri-devel@lists.freedesktop.org>, <robdclark@gmail.com>, <seanpaul@chromium.org>, <swboyd@chromium.org>, <dmitry.baryshkov@linaro.org>, <quic_abhinavk@quicinc.com>, <quic_jesszhan@quicinc.com>, <quic_khsieh@quicinc.com>, <marijn.suijten@somainline.org>, <neil.armstrong@linaro.org> Subject: [PATCH v5 10/19] drm/msm/dp: program config ctrl for YUV420 over DP Date: Thu, 22 Feb 2024 11:39:55 -0800 Message-ID: <20240222194025.25329-11-quic_parellan@quicinc.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240222194025.25329-1-quic_parellan@quicinc.com> References: <20240222194025.25329-1-quic_parellan@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: <linux-arm-msm.vger.kernel.org> List-Subscribe: <mailto:linux-arm-msm+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-arm-msm+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 8fIh_K_bAqO825UMsc-9mqD86H_bVC-O X-Proofpoint-ORIG-GUID: 8fIh_K_bAqO825UMsc-9mqD86H_bVC-O X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-22_15,2024-02-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 suspectscore=0 clxscore=1015 lowpriorityscore=0 priorityscore=1501 adultscore=0 mlxlogscore=976 phishscore=0 spamscore=0 mlxscore=0 bulkscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2402220154 |
Series |
Add support for CDM over DP
|
expand
|
diff --git a/drivers/gpu/drm/msm/dp/dp_ctrl.c b/drivers/gpu/drm/msm/dp/dp_ctrl.c index fb588fde298a2..6692d81adb195 100644 --- a/drivers/gpu/drm/msm/dp/dp_ctrl.c +++ b/drivers/gpu/drm/msm/dp/dp_ctrl.c @@ -128,6 +128,9 @@ static void dp_ctrl_config_ctrl(struct dp_ctrl_private *ctrl) /* Default-> LSCLK DIV: 1/4 LCLK */ config |= (2 << DP_CONFIGURATION_CTRL_LSCLK_DIV_SHIFT); + if (ctrl->panel->dp_mode.out_fmt_is_yuv_420) + config |= DP_CONFIGURATION_CTRL_RGB_YUV; /* YUV420 */ + /* Scrambler reset enable */ if (drm_dp_alternate_scrambler_reset_cap(dpcd)) config |= DP_CONFIGURATION_CTRL_ASSR;