From patchwork Thu Oct 3 09:28:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 13820809 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 33FE6CF8571 for ; Thu, 3 Oct 2024 09:37:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id ABE6A10E7C0; Thu, 3 Oct 2024 09:37:06 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=samsung.com header.i=@samsung.com header.b="fS39ckIQ"; dkim-atps=neutral Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8ECB210E7DC for ; Thu, 3 Oct 2024 09:37:05 +0000 (UTC) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20241003092900euoutp02cbb4c85a9a5ba84ccdd187afb9e5d6ef~651CtjdYl0307403074euoutp02S for ; Thu, 3 Oct 2024 09:29:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20241003092900euoutp02cbb4c85a9a5ba84ccdd187afb9e5d6ef~651CtjdYl0307403074euoutp02S DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1727947740; bh=b+sY4M2Lm+Vxr30NniNpscgNlYElLQh2+ZLf9+Vmr/A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fS39ckIQDNqqpyDZkOZMlH0DsYQ8a+Fksl+pv4YGgNjyxUdulGgAr2/P1Bp/UCLkR GgXPgPbOHsiGpTiQhwXUSWU7kPbGPZoTliOhAhtJAeQs7sbPbo1sEXSzxvoD/q5e3l dNZUFPguqjVxiJZz5/pENDQZgD8F0x9rfmsUbv7I= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20241003092900eucas1p10bb65e87ef86d0a3fb0afd81e971eb40~651CWqeEG2406024060eucas1p1i; Thu, 3 Oct 2024 09:29:00 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 6D.D2.09875.CD36EF66; Thu, 3 Oct 2024 10:29:00 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20241003092859eucas1p242fdefaa83bae892cf523019cb7c7003~651B3UUA21289512895eucas1p2P; Thu, 3 Oct 2024 09:28:59 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20241003092859eusmtrp1676d6803c9dc1328e99669aec0d0040f~651B2tlbG1370213702eusmtrp1d; Thu, 3 Oct 2024 09:28:59 +0000 (GMT) X-AuditID: cbfec7f4-11bff70000002693-9c-66fe63dc1014 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 68.57.19096.BD36EF66; Thu, 3 Oct 2024 10:28:59 +0100 (BST) Received: from AMDC4653.digital.local (unknown [106.120.51.32]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20241003092859eusmtip24df80fe60325fbb20c24239c3695535f~651BMgdIu1782517825eusmtip2J; Thu, 3 Oct 2024 09:28:59 +0000 (GMT) From: Marek Szyprowski To: Raspberry Pi Kernel Maintenance , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Dave Stevenson , Javier Martinez Canillas Subject: [PATCH 1/2] drm/fbdev-helper: fail if driver provides no fbdev/fb probe functions Date: Thu, 3 Oct 2024 11:28:25 +0200 Message-Id: <20241003092826.1942901-2-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241003092826.1942901-1-m.szyprowski@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrPKsWRmVeSWpSXmKPExsWy7djPc7p3kv+lGdydIGhx4voiJou3cxez WFz5+p7NYuG05YwW72dOYLa4vGsOm8XaI3fZLRZ+3Mpi0da5jNVi9rv97BZb3kxkdeD22Ptt AYvHzll32T02repk85h3MtDjfvdxJo/Wo79YPN7vu8rm0bdlFaPH5tPVHp83yQVwRXHZpKTm ZJalFunbJXBlLH53jL1gEXtF86Q1TA2MU9m6GDk5JARMJE4+n8fexcjFISSwglFixfzdLBDO F0aJh1susEI4nxkl1v69wALT8ut9HxtEYjmjxJ8Jh1jhWtoOn2IEqWITMJToetsFViUi0MQo cXZlM1gVs8ADJoknUx+CVQkLxEhs+74f7BQWAVWJiffvgtm8AvYSyx/9gjpRXmL/wbPMIDan gIPE5huvWCFqBCVOznwCdhMzUE3z1tnMIAskBL5wSDQ3rANyOIAcF4nfe9Uh5ghLvDq+hR3C lpE4PbmHBaK+nVFiwe/7TBDOBEaJhue3GCGqrCXunAO5ggNog6bE+l36EGFHiTPfprBBzOeT uPFWEOIGPolJ26ZDreWV6GgTgqhWk5h1fB3c2oMXLjFD2B4S078cZp/AqDgLyTezkHwzC2Hv AkbmVYziqaXFuempxUZ5qeV6xYm5xaV56XrJ+bmbGIFp7PS/4192MC5/9VHvECMTB+MhRgkO ZiUR3nnb/6YJ8aYkVlalFuXHF5XmpBYfYpTmYFES51VNkU8VEkhPLEnNTk0tSC2CyTJxcEo1 MAVsnXVBfv+eFf+/1PzYXxR3dOm/Pck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NT++L SEZvVTrExf4lwMzQSt+aSzPH2yTpv+RVs/XmIkfq2Of0pOearugqnP35198a+WfrL+lPOzPr pI9X5IXNOgUzj2bvT+XcpByaZjBb7XGMMveRqL11Lb/NXt9WLAnZv+tCtf5neyHRk/sPsCqV /bz0d/v6aavvRej2n0/Ud2IRl7my7oWpgoBm7Pa/b3asWR5y7ojs4YqTV9/9OikeXp+Yf63j zYX0fUu/NU6KXnkrSO/xe8dtimoXtb6FfPt1u2WSINslnqKJJns759n9swueHdVsq+S0z7F2 Q3581rVvsUsqNr/efSepcmqpi/i+SfdXhjSzby27psRSnJFoqMVcVJwIADPOiBlAAwAA X-CMS-MailID: 20241003092859eucas1p242fdefaa83bae892cf523019cb7c7003 X-Msg-Generator: CA X-RootMTR: 20241003092859eucas1p242fdefaa83bae892cf523019cb7c7003 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20241003092859eucas1p242fdefaa83bae892cf523019cb7c7003 References: <20241003092826.1942901-1-m.szyprowski@samsung.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" If caller doesn't provide driver->fbdev_probe nor funcs->fb_probe, then fail early instead of causing potential NULL pointer dereference, because fb_helper->fb won't be initialized in such case. Fixes: 5d08c44e47b9 ("drm/fbdev: Add memory-agnostic fbdev client") Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/drm_fb_helper.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index d5e8994345bb..fc260832326c 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c @@ -1635,6 +1635,9 @@ static int drm_fb_helper_single_fb_probe(struct drm_fb_helper *fb_helper) ret = dev->driver->fbdev_probe(fb_helper, &sizes); else if (fb_helper->funcs) ret = fb_helper->funcs->fb_probe(fb_helper, &sizes); + else + ret = -ENODEV; + if (ret < 0) return ret; From patchwork Thu Oct 3 09:28:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 13820810 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4100BCF8571 for ; Thu, 3 Oct 2024 09:37:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B201210E7DC; Thu, 3 Oct 2024 09:37:09 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=samsung.com header.i=@samsung.com header.b="DtRwP02r"; dkim-atps=neutral Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8D6A710E7C0 for ; Thu, 3 Oct 2024 09:37:05 +0000 (UTC) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20241003092901euoutp0227889e968a5627c02c00f1ffe221a982~651DC5Iro3264832648euoutp02k for ; Thu, 3 Oct 2024 09:29:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20241003092901euoutp0227889e968a5627c02c00f1ffe221a982~651DC5Iro3264832648euoutp02k DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1727947741; bh=51BHMcWfEge1OQoCPrt4FdlKAhUWgI/LQIBASekG+MA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DtRwP02rALlsiZbRPhU9GkbqB4k8qR9y5PqZ++AgHpuh6y1FB7/XZ/fvKBGVDEFzr eOq1q4RXLY234WrFycZOhB1uREgh76C1S1UnIoK/VtgzwAI69vII/JLQb9lYMhxd4n +kqZPwR043dP6z/rN/Xs0sepFDbiTgZ3EuiWHHpY= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20241003092900eucas1p1026e90c64d86804b160af507ef2259fb~651C0SQ1D2406024060eucas1p1k; Thu, 3 Oct 2024 09:29:00 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 2E.D2.09875.CD36EF66; Thu, 3 Oct 2024 10:29:00 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20241003092900eucas1p23bc93401d6803aa36c1b442b40bd6c15~651CbQ-tk1289512895eucas1p2R; Thu, 3 Oct 2024 09:29:00 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20241003092900eusmtrp1121e5b125467f1ab56ece748eb257cbd~651Can7Re1370213702eusmtrp1e; Thu, 3 Oct 2024 09:29:00 +0000 (GMT) X-AuditID: cbfec7f4-11bff70000002693-9e-66fe63dc56b7 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 29.57.19096.CD36EF66; Thu, 3 Oct 2024 10:29:00 +0100 (BST) Received: from AMDC4653.digital.local (unknown [106.120.51.32]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20241003092859eusmtip21772a927d7df8b2da94ddc169c169b12~651BzFhHk2013120131eusmtip2V; Thu, 3 Oct 2024 09:28:59 +0000 (GMT) From: Marek Szyprowski To: Raspberry Pi Kernel Maintenance , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Dave Stevenson , Javier Martinez Canillas Subject: [PATCH 2/2] drm/vc4: Provides DRM_FBDEV_DMA_DRIVER_OPS also for vc5_drm_driver Date: Thu, 3 Oct 2024 11:28:26 +0200 Message-Id: <20241003092826.1942901-3-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241003092826.1942901-1-m.szyprowski@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrPKsWRmVeSWpSXmKPExsWy7djPc7p3kv+lGXQ907Y4cX0Rk8XbuYtZ LK58fc9msXDackaL9zMnMFtc3jWHzWLtkbvsFgs/bmWxaOtcxmox+91+dostbyayOnB77P22 gMVj56y77B6bVnWyecw7Gehxv/s4k0fr0V8sHu/3XWXz6NuyitFj8+lqj8+b5AK4orhsUlJz MstSi/TtErgypj5+zlQwgb3ixuzCBsYWti5GTg4JAROJWbd7mLsYuTiEBFYwSvROPswO4Xxh lHj/YwsrhPOZUeLWxxPsMC2vvrexQSSWM0rMXb+MCa7l7LFrzCBVbAKGEl1vu8CqRASagBIr m8FmMQs8YJJ4MvUhI0iVsECkxLyjb1lBbBYBVYnWw1OYQGxeAXuJviXLmSH2yUvsP3gWzOYU cJDYfOMVK0SNoMTJmU9YQGxmoJrmrbPB3pAQ+MAhsf3dFqhjXSQO374PNUhY4tVxmLiMxOnJ PSwQDe2MEgt+32eCcCYwSjQ8v8UIUWUtcefcL6AnOIBWaEqs36UPEXaUeHoD5GkOIJtP4sZb QYgj+CQmbZvODBHmlehoE4KoVpOYdXwd3NqDFy5BneMh8ezGTMYJjIqzkLwzC8k7sxD2LmBk XsUonlpanJueWmyUl1quV5yYW1yal66XnJ+7iRGYxk7/O/5lB+PyVx/1DjEycTAeYpTgYFYS 4Z23/W+aEG9KYmVValF+f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wNTC3N jJXEedmunE8TEkhPLEnNTk0tSC2C6WPi4JRqYJI8+21bZll5OOOzQrO/RcIdDML6Ev//BD/c JvNlcc/5mgcXBOuUf9YsMlgr7VgyR+pFvMDvjA/Z+RbhN7wVmVqEpzDc+m2m+HrRqq8cDh4F kikLzzZatS0qZnli/vGx5bXTnid2X1sXyxRgIjNrl0nUmZ8/+SUdtsr+mXFQ8qHSuYNdYeZO Ntm2xjvWP9Z73OWTt/hqQcFGdxePNR8N2XUmsB2Xnr+CR/vwFn7LrDJJro/TFE9Kmk3a9m6G 4ulzf+sKbWancbOvXD33TSGPq8L0BTOKJs7mat2h/TlWLnJRu6y2uPqKG6b6sU0qJj9uXGbm ruB5fd+3PYn7fMyCc0e2xsV9Mmcu+e+jISPuocRSnJFoqMVcVJwIAPjRwPk/AwAA X-CMS-MailID: 20241003092900eucas1p23bc93401d6803aa36c1b442b40bd6c15 X-Msg-Generator: CA X-RootMTR: 20241003092900eucas1p23bc93401d6803aa36c1b442b40bd6c15 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20241003092900eucas1p23bc93401d6803aa36c1b442b40bd6c15 References: <20241003092826.1942901-1-m.szyprowski@samsung.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The VC4 DRM driver contains 2 'struct drm_driver' objects, used for different hardware versions. Commit 45903624e9fc ("drm/vc4: Run DRM default client setup") added the DRM_FBDEV_DMA_DRIVER_OPS entry only to the first one, causing the kernel oops if the second 'drm_driver' object is used. Fix this. Fixes: 45903624e9fc ("drm/vc4: Run DRM default client setup") Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/vc4/vc4_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/vc4/vc4_drv.c b/drivers/gpu/drm/vc4/vc4_drv.c index 13a1ecddbca3..a238f76a6073 100644 --- a/drivers/gpu/drm/vc4/vc4_drv.c +++ b/drivers/gpu/drm/vc4/vc4_drv.c @@ -238,6 +238,7 @@ const struct drm_driver vc5_drm_driver = { #endif DRM_GEM_DMA_DRIVER_OPS_WITH_DUMB_CREATE(vc5_dumb_create), + DRM_FBDEV_DMA_DRIVER_OPS, .fops = &vc4_drm_fops,