Message ID | 20250108-virtual-planes-fixes-v1-2-420cb36df94a@quicinc.com |
---|---|
State | New |
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 8FB1D202C4F; Wed, 8 Jan 2025 22:41:26 +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=1736376089; cv=none; b=ttHg1cpSDVJXKnCW+QrDCogjf1nNiDGwtD2LmPJazqjr4tTTenG/WpNmppfxxoXLBAUwnb1KdpAYmT0P+/7ARi3mUckZNsTpvIo1q4Bfa0cgffznr0G8F5PwzApfK1N6G5yXYxIBWOQkgGhS6H4OSWoj5v/dCtiPb/W8aigXDlw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736376089; c=relaxed/simple; bh=QR16JlVWewQvqRCfu/jfFem6mYmoZ1Qb3rklSzWtS5k=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=ik9tLNcMZaTTRyt2WiV+EgdeUyxO3LMt9teUg8ylxqNca8RgBu2BF13TxCeKFoZuhwmO+Z/pDG7HdYrpX9009CY9GrTX+L8K/1w6pp1zeForPhyxUCwYBGmAjYnQDnmSlitiJtVVAnt2wxhDCoZ3mdkk0S5YXCYLQzx3GKBNP+A= 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=OzAr0i0X; 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="OzAr0i0X" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 508CLlHL028339; Wed, 8 Jan 2025 22:41:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= mV0rBxiHhGiankakaz7/xpbu+16U3xfACb5dsIWabAs=; b=OzAr0i0XZ5LYb2Rb r1PsEKGpKIxnSMyPq79g7zc5igt4LKZiLe/U0la0HpTWPJcpCF4+3Jxozm24ytSV 2qpVADPDke0refuPluU5GZrN/H3Dl1mTy1u65wg6iGN5sAupbC8tAnXyubrjCZnn C/w6pH3Atg1TeAMa0lFJMEcsilDNnYxj8Bko8I8a88jwbjCXUGC64GFy9Aib2QN2 IutAca0kZdn1ppqCF9wzvCDbTXQ0R55aP7+X/dsQY4RUK8e6LW4N2XnZtjVhvSpl PwymgAi+l2/aeODnmNJAezJBCVPZ4BzaBzfyXgQ3++6g2Wy7fb6I4gDTG1z+vAht d4jcgQ== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 441sa29d69-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 08 Jan 2025 22:41:19 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA05.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 508Mf6Wc030473 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 8 Jan 2025 22:41:06 GMT Received: from jesszhan-linux.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Wed, 8 Jan 2025 14:41:06 -0800 From: Jessica Zhang <quic_jesszhan@quicinc.com> Date: Wed, 8 Jan 2025 14:40:48 -0800 Subject: [PATCH 2/2] drm/msm/dpu: Drop extraneous return in dpu_crtc_reassign_planes() 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20250108-virtual-planes-fixes-v1-2-420cb36df94a@quicinc.com> References: <20250108-virtual-planes-fixes-v1-0-420cb36df94a@quicinc.com> In-Reply-To: <20250108-virtual-planes-fixes-v1-0-420cb36df94a@quicinc.com> To: Rob Clark <robdclark@gmail.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Sean Paul <sean@poorly.run>, Marijn Suijten <marijn.suijten@somainline.org>, David Airlie <airlied@gmail.com>, "Simona Vetter" <simona@ffwll.ch> CC: <quic_abhinavk@quicinc.com>, <linux-arm-msm@vger.kernel.org>, <dri-devel@lists.freedesktop.org>, <freedreno@lists.freedesktop.org>, <linux-kernel@vger.kernel.org>, Jessica Zhang <quic_jesszhan@quicinc.com> X-Mailer: b4 0.15-dev-1b0d6 X-Developer-Signature: v=1; a=ed25519-sha256; t=1736376065; l=811; i=quic_jesszhan@quicinc.com; s=20230329; h=from:subject:message-id; bh=QR16JlVWewQvqRCfu/jfFem6mYmoZ1Qb3rklSzWtS5k=; b=xkm0Sv61RoMmRirpsnUROcvzp+5DjCxpuAU2s7KeanzsoPwVkLUFlTzs9+V8h/1y3E/ZPhfzC 0+yRMfWRC4PAZIIzee4vxkbMLWYAVfrXum4CvdMe66jMIW7N1UoLtAu X-Developer-Key: i=quic_jesszhan@quicinc.com; a=ed25519; pk=gAUCgHZ6wTJOzQa3U0GfeCDH7iZLlqIEPo4rrjfDpWE= X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: E-fIVMgqUpWpntNFc0CEp93IQdZsf5Op X-Proofpoint-ORIG-GUID: E-fIVMgqUpWpntNFc0CEp93IQdZsf5Op X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 malwarescore=0 suspectscore=0 mlxlogscore=752 impostorscore=0 clxscore=1015 mlxscore=0 adultscore=0 priorityscore=1501 phishscore=0 lowpriorityscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2501080186 |
Series |
[1/2] drm/msm/dpu: Initialize return value for dpu_assign_plane_resources()
|
expand
|
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c index 7191b1a6d41b3a96f956d199398f12b2923e8c82..e5dcd41a361f45be20c7d4414de4bf7a42ce3d3b 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c @@ -1228,8 +1228,6 @@ static int dpu_crtc_reassign_planes(struct drm_crtc *crtc, struct drm_crtc_state done: kfree(states); return ret; - - return 0; } static int dpu_crtc_atomic_check(struct drm_crtc *crtc,
Drop extra return at the end of dpu_crtc_reassign_planes() Fixes: 774bcfb73176 ("drm/msm/dpu: add support for virtual planes") Signed-off-by: Jessica Zhang <quic_jesszhan@quicinc.com> --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 2 -- 1 file changed, 2 deletions(-)