Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp1017112lqt; Fri, 19 Apr 2024 19:33:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWGaNSYetu4668NqA61a2/lqSOmAnIx4QnsZV6gyhtfgDf9isw2Gk/w2yYYEFJiVhsO2+YbungWdvROs640GEB6yFI3pdNftpwFcqRCXQ== X-Google-Smtp-Source: AGHT+IGtptrixU4e6OiW6lQuExu9/UH0mMhlLvtWykJzC6pqjLQVzp3MHHPS5vs980v1J4g9a/bU X-Received: by 2002:a05:622a:1308:b0:439:721f:a768 with SMTP id v8-20020a05622a130800b00439721fa768mr485979qtk.32.1713580395307; Fri, 19 Apr 2024 19:33:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713580395; cv=pass; d=google.com; s=arc-20160816; b=xUW/xjru3zAN1F7keAecpthRKUd/iGW6tRUTLO3k0ska0fEAMdgLGWQ4umZY+MvADx j68VsoUtUq29GzMr5zfyGk4CYD/wl9dcMp0/ZviQ8Hq7UT8rjr8+cO8SzWQSQX84EjU+ kx/DlBTJYSSwf0XIrp0EVeO8cm7PmALTyKmL7477VkvJ01FqLp9k2mAG0h4d9iHiDM4P X/Fm0Pui4bjavHnjvEDNoKjZzqiFCFDgFUhISRUQkpweF1yihHbyjKh8yFwFFz+uoKRS 8HOvHBbnZVJhGfPFuUowA9cLePY+N1MHqsg7FCTmIOdU9N7ys3Ug8E5yZzuWv+aelG7R oHJQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=IHIy43O0Jlbv9g9HsqpFU0YMmnLVDcwucd3KlxrGMn8=; fh=wDxRXPthExyxtJ9IfmX3Bk6mRf0W+ffa7HdzVE6uZHI=; b=O1yerJsdMDa8ujttw0WYC0Hr7OunRcr5mhqbXeFyFXSLsxK4Sp1TbdrZSdJOt6dyH3 TWPH0XWQvVETZMWu56PyR6oSp5Lm9ecThj7QQkj8hhPes92ePFdYkYq27Xt8bBGxABfQ UL1mr9fl1EPZuZIfyFBjBJzMvzl8XnNE4I5h4LDXbQw+bLIDVpwylvKLZ9g5OlRId8bs oJGvM+P1xWSztPSutAt6hLuKLyrMwTGgvmGoNJ3WGaSJU49XH9Scq1RpyfcG52Jf4uoX jGD3fX8JLVJXiN8k84Zml5agQp4C19Kq6y0nRTqU455S4Yu2tUjg9mDy8+0kfi0tUKeA gn6w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=q+Yl5GU9; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-152091-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152091-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id z17-20020ac87f91000000b0043962899aaasi1140134qtj.607.2024.04.19.19.33.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 19:33:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-152091-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=q+Yl5GU9; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-152091-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152091-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E25541C20A8F for ; Sat, 20 Apr 2024 02:33:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D9390749F; Sat, 20 Apr 2024 02:33:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="q+Yl5GU9" Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2F5CD205E2A for ; Sat, 20 Apr 2024 02:33:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713580387; cv=none; b=Kz9stXiZDwhJoMP6plXKkQEDsI+4TknWUYgRaSUNxmCn9fu9CjAp2rd7nTebYkGU2ssNevdhRO04ztQYB/4CDJHfRXsI+rz1wMLZBuhnaKnpUJmc88SkHLTyATZ2vNLK0UvqapVtKOQF1m7jnllG0h0BiftFImlwXDFyy5VYm74= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713580387; c=relaxed/simple; bh=APWeS2G8ldD8gvmeJXu8a7QBkWaV4iIippY2f6pvmoA=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=tqNH5r4NIXRS0kiLA+Ryowf8h3ONro4U7W/FzfcRHDXl62CraO2LV8w46+dDR4EAYO2IfZpGGHDGY8fXDXlDXuYXmO6f33pQdQICltewJ0pgswDnLbhdAyd+UQYicecrsxauAfTXsxrXzyXbfxvPglOL8n3CAL1sAlr3Bju4WlY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=q+Yl5GU9; arc=none smtp.client-ip=209.85.208.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f180.google.com with SMTP id 38308e7fff4ca-2da01cb187cso45985631fa.0 for ; Fri, 19 Apr 2024 19:33:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713580383; x=1714185183; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=IHIy43O0Jlbv9g9HsqpFU0YMmnLVDcwucd3KlxrGMn8=; b=q+Yl5GU91akzoPBiDEmhiewkfIuQrUDXLqOejhRO7xmmFyW2g6qCNR5sDvkNmK2bk1 GAewt8OJtB14F0YRfD3gcvvl8hwq7BhH02UrF5kvWd7rsfGwqXTgDeyzT7l7GqP2PY1p Ea4iQnsL3dRmYLEczjWPKg4iBVrmg1YybhMIs7SUBeJtJFbpZp9yLKvpUj5QPbajlICG lbLL9TWzEFEP4tJjxLU3I6iLOxdSDf5bR08YMaddLoX4AHb8oxpPNkXna/929sC/EMjU vIxZ2e5/rwllDwTPqyxm3XhfufEi3scA0Ys8oIT/icyRJMrmD1sVB3xat9wbMtxJyoQo uwbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713580383; x=1714185183; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IHIy43O0Jlbv9g9HsqpFU0YMmnLVDcwucd3KlxrGMn8=; b=tX06DkgsIj+UO249XbeH7mSdmjlcK+WbgazmBLcRS+7TBO8MaXAlPQh1N7AXCZSapg LhGMZIAR3nWMg7NA/3RXugi7KYz12B1gc7+J5A0Yy1A6WAgT8t6H28BG9JQV6sMebfDU 3p7w283QSBndgu36fbZVxuXp9wdkqjrgrFYbM3/seQNMKNNLd8RA1X88aK2reqisyapt ty9MW4deKbUm7IjaG1GWArAFxCRS+vu3UhZDeof/Z0ovNRHIOnUAyzB3oPZr3YPVsl3m m3XY1pn5AmGR9i/APMU1uH5lFVeInMgFcEiNU0U75Su+byxpPnjj00MF9PWgX8OWQDY5 MLxg== X-Forwarded-Encrypted: i=1; AJvYcCUTTiBE2SUVrxHQ5hNB9FGm0MUSiwY4GhKrrMgk/ECeviCjcPANZFqSF+jyCZQV9vtvQCcnFuF3DCQb93D2sDq/XTgPBipcw6oBSUlk X-Gm-Message-State: AOJu0YzT9hZmbYBXOMzTn5s7TpYTRqpiifsgsWUyrF7AU/s1I7SBlrmt D1tLnvteEcIATfZnIeZXzZzAw9xeXcNGIjV0um0/HqlS5WwZXnhCleRdZYp2Ee0= X-Received: by 2002:a2e:97d4:0:b0:2d6:8868:f1a6 with SMTP id m20-20020a2e97d4000000b002d68868f1a6mr2841297ljj.43.1713580383060; Fri, 19 Apr 2024 19:33:03 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 20-20020a05651c009400b002d87e936833sm836843ljq.125.2024.04.19.19.33.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 19:33:02 -0700 (PDT) From: Dmitry Baryshkov Subject: [PATCH 0/3] drm/msm/mdp4: fix probe deferral issues Date: Sat, 20 Apr 2024 05:33:00 +0300 Message-Id: <20240420-mdp4-fixes-v1-0-96a70f64fa85@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAFwpI2YC/x2LQQqAIBAAvyJ7TtDVIPpKdNBcaw+ZKEQg/T3pO MxMg0qFqcIsGhS6ufKVOuhBwHa4tJPk0BlQoVUWlTxDtjLyQ1VGY/zoUBs1eehDLvSL3i/r+36 I64o8XAAAAA== To: Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=858; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=APWeS2G8ldD8gvmeJXu8a7QBkWaV4iIippY2f6pvmoA=; b=owGbwMvMwMXYbdNlx6SpcZXxtFoSQ5qyZqzb89RHFa7pqfUzGPasSWcwuHNo8Tw9D+VLbE2X3 3rN5ovrZDRmYWDkYpAVU2TxKWiZGrMpOezDjqn1MINYmUCmMHBxCsBE9s9m/x+fcoNTLa7dnLci t0yoLaKLIXZOWflUpvkL7jCsLfbc6Derw5xJYWLhFdlm961/D6VxfBecPMuQ1ebfb8vwp+X5Xqu v1zw8rHRvxnORfce/OzBEx4oLJien3Ln4otbRrFl9U9w54ZA6Xntx0amnMwwTK67EcDsqPLbLe7 3GPGAqv90fkfY3BU9nqdeW9jYWt6jq1C5aP0Nm/hHbK3XfC7Mtv/pHNH8u49rG2vJYxydi9rS73 zdkZluFOC2PyCteeIcvZL73y+V5Hy5Eb7niGz75+uml7T3Lxe2L7Jq0rcUdlivcZ5kj+rHntxRD 4w9VndsPkjfwPzt85kTIKgkT7hMZx/bIJeZvsOGsOX4fAA== X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A While testing MDP4 LVDS support I noticed several issues (two are related to probe deferral case and last one is a c&p error in LCDC part). Fix those issues. Signed-off-by: Dmitry Baryshkov --- Dmitry Baryshkov (3): drm/msm: don't clean up priv->kms prematurely drm/msm/mdp4: don't destroy mdp4_kms in mdp4_kms_init error path drm/msm/mdp4: correct LCDC regulator name drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c | 28 ++++++++--------------- drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c | 2 +- drivers/gpu/drm/msm/msm_kms.c | 1 - 3 files changed, 10 insertions(+), 21 deletions(-) --- base-commit: 7b4f2bc91c15fdcf948bb2d9741a9d7d54303f8d change-id: 20240420-mdp4-fixes-f33b5a21308b Best regards, -- Dmitry Baryshkov