From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 03077CD5BD2 for ; Wed, 27 May 2026 02:18:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Lo2bXSu2dFSpcoZt0XGbm/ktrIZPgjG1sbhFxpO8grk=; b=Kyd/pcNiC8GXcy +hGm2x7QLyFyWmy9heg2U0m6g6Ea9RvcmOYg4rPDSeIBgOD/418UEOVz9x/M6hFhHfhib8HrHtE4U xj4VI1CWqZyNOBzC9eIbnd85Z6p9RCjpf1Uwp/xKzoiMNqz2tbPDOg6REg/TQAi6IcAsxi9wgfOeS tO64JyUG+oeeFldLpSVZjEk7cI1H5fBrWjVx/3iwyYKMZGFbG8xaIO7pcpRYwOz2ARLCDP3Dek6a2 aQu6mvxXdoXtHwzlFqWN03wNFTqrKcnANdK5kBgB4n3mQH/03zysQEdJOlFH1nIP79hJ5yuOXlHX0 72ZTGW3avG4qUko7f9Rg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wS3qU-000000039OH-3f2Q; Wed, 27 May 2026 02:18:10 +0000 Received: from mgamail.intel.com ([192.198.163.17]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wS3qR-000000039Nq-2Ei1; Wed, 27 May 2026 02:18:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1779848288; x=1811384288; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=TMbvDbgUTPtTslZr8H7vu38wbe3gX1dFPoU4U/gtd6g=; b=RJLJpFXMMlMedNtXGWg5S2g1Pp9/tPtoUxSFEkon+X8t9tx3JN6uQ+Zf H7Gab9v0nc6mmB1c2xnEtKRsTqM8fha5r/LlPDRnqZTvUbqoiJIqHa5KR rdwE7uw7DpKaoM3urH5/2Yj38PCNT/fmtTZ37zYgbXYy+8mfx3dfIXyeg CYKQ+5dFZTRdIWJJuu7jivCjumFGpoabjdt6VjGj0yzQYLLcZwmp/KE/J KEZHIjLHuWUhgrBLN8QFAomhzyZeMnLre3gPWNrEkJ6UGDXPNS9M7oRD7 FhJPticqbCLcc7bEkIFH1m42yfRTZYgWoZfSjs1mYbgB1rO2qFW7/vjJs g==; X-CSE-ConnectionGUID: u3korqrVS0CXlAM1GMInAQ== X-CSE-MsgGUID: sIExik+oQYeuntgaQmW9Wg== X-IronPort-AV: E=McAfee;i="6800,10657,11798"; a="80521600" X-IronPort-AV: E=Sophos;i="6.24,170,1774335600"; d="scan'208";a="80521600" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2026 19:18:06 -0700 X-CSE-ConnectionGUID: jA4+a52cRA6gVLIwhVEiIg== X-CSE-MsgGUID: e4yCOGUFRruRmSukACaMpg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.24,170,1774335600"; d="scan'208";a="242262078" Received: from lkp-server01.sh.intel.com (HELO f0d55cb201f0) ([10.239.97.150]) by orviesa007.jf.intel.com with ESMTP; 26 May 2026 19:18:02 -0700 Received: from kbuild by f0d55cb201f0 with local (Exim 4.98.2) (envelope-from ) id 1wS3qI-000000003G2-01vc; Wed, 27 May 2026 02:17:58 +0000 Date: Wed, 27 May 2026 10:17:16 +0800 From: kernel test robot To: Myeonghun Pak , Neil Armstrong Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , dri-devel@lists.freedesktop.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Myeonghun Pak , stable@vger.kernel.org, Ijae Kim Subject: Re: [PATCH] drm/meson: clean up KMS polling on register failure Message-ID: <202605271010.KFK2tlLa-lkp@intel.com> References: <20260524160657.17802-1-mhun512@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20260524160657.17802-1-mhun512@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260526_191807_615318_CC280A68 X-CRM114-Status: GOOD ( 13.37 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Hi Myeonghun, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on linus/master v7.1-rc5 next-20260526] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Myeonghun-Pak/drm-me= son-clean-up-KMS-polling-on-register-failure/20260525-000807 base: https://gitlab.freedesktop.org/drm/misc/kernel.git drm-misc-next patch link: https://lore.kernel.org/r/20260524160657.17802-1-mhun512%40g= mail.com patch subject: [PATCH] drm/meson: clean up KMS polling on register failure config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/202605= 27/202605271010.KFK2tlLa-lkp@intel.com/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f022= 7cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=3D1 build): (https://download.01.org/0day-ci/archive= /20260527/202605271010.KFK2tlLa-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new versio= n of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202605271010.KFK2tlLa-lkp@i= ntel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/meson/meson_drv.c:363:1: warning: unused label 'uninstal= l_irq' [-Wunused-label] 363 | uninstall_irq: | ^~~~~~~~~~~~~~ 1 warning generated. vim +/uninstall_irq +363 drivers/gpu/drm/meson/meson_drv.c 8976eeee8de05f1 Neil Armstrong 2020-04-28 180 = 8604889f83381ca Neil Armstrong 2017-05-29 181 static int meson_drv= _bind_master(struct device *dev, bool has_components) bbbe775ec5b5dac Neil Armstrong 2016-11-10 182 { a41e82e6c4575b6 Neil Armstrong 2017-04-04 183 struct platform_dev= ice *pdev =3D to_platform_device(dev); d1b5e41e13a7e9b Neil Armstrong 2019-10-21 184 const struct meson_= drm_match_data *match; bbbe775ec5b5dac Neil Armstrong 2016-11-10 185 struct meson_drm *p= riv; bbbe775ec5b5dac Neil Armstrong 2016-11-10 186 struct drm_device *= drm; bbbe775ec5b5dac Neil Armstrong 2016-11-10 187 struct resource *re= s; bbbe775ec5b5dac Neil Armstrong 2016-11-10 188 void __iomem *regs; 8976eeee8de05f1 Neil Armstrong 2020-04-28 189 int ret, i; bbbe775ec5b5dac Neil Armstrong 2016-11-10 190 = bbbe775ec5b5dac Neil Armstrong 2016-11-10 191 /* Checks if an out= put connector is available */ bbbe775ec5b5dac Neil Armstrong 2016-11-10 192 if (!meson_vpu_has_= available_connectors(dev)) { bbbe775ec5b5dac Neil Armstrong 2016-11-10 193 dev_err(dev, "No o= utput connector available\n"); bbbe775ec5b5dac Neil Armstrong 2016-11-10 194 return -ENODEV; bbbe775ec5b5dac Neil Armstrong 2016-11-10 195 } bbbe775ec5b5dac Neil Armstrong 2016-11-10 196 = d1b5e41e13a7e9b Neil Armstrong 2019-10-21 197 match =3D of_device= _get_match_data(dev); d1b5e41e13a7e9b Neil Armstrong 2019-10-21 198 if (!match) d1b5e41e13a7e9b Neil Armstrong 2019-10-21 199 return -ENODEV; d1b5e41e13a7e9b Neil Armstrong 2019-10-21 200 = bbbe775ec5b5dac Neil Armstrong 2016-11-10 201 drm =3D drm_dev_all= oc(&meson_driver, dev); bbbe775ec5b5dac Neil Armstrong 2016-11-10 202 if (IS_ERR(drm)) bbbe775ec5b5dac Neil Armstrong 2016-11-10 203 return PTR_ERR(drm= ); bbbe775ec5b5dac Neil Armstrong 2016-11-10 204 = bbbe775ec5b5dac Neil Armstrong 2016-11-10 205 priv =3D devm_kzall= oc(dev, sizeof(*priv), GFP_KERNEL); bbbe775ec5b5dac Neil Armstrong 2016-11-10 206 if (!priv) { bbbe775ec5b5dac Neil Armstrong 2016-11-10 207 ret =3D -ENOMEM; bbbe775ec5b5dac Neil Armstrong 2016-11-10 208 goto free_drm; bbbe775ec5b5dac Neil Armstrong 2016-11-10 209 } bbbe775ec5b5dac Neil Armstrong 2016-11-10 210 drm->dev_private = =3D priv; bbbe775ec5b5dac Neil Armstrong 2016-11-10 211 priv->drm =3D drm; bbbe775ec5b5dac Neil Armstrong 2016-11-10 212 priv->dev =3D dev; d1b5e41e13a7e9b Neil Armstrong 2019-10-21 213 priv->compat =3D ma= tch->compat; d1b5e41e13a7e9b Neil Armstrong 2019-10-21 214 priv->afbcd.ops =3D= match->afbcd_ops; 528a25d040bc212 Julien Masson 2019-08-22 215 = d4cb82aa2e4bc0e Cai Huoqing 2021-08-31 216 regs =3D devm_platf= orm_ioremap_resource_byname(pdev, "vpu"); 2c18107b9d58972 Christophe JAILLET 2018-03-12 217 if (IS_ERR(regs)) { 2c18107b9d58972 Christophe JAILLET 2018-03-12 218 ret =3D PTR_ERR(re= gs); 2c18107b9d58972 Christophe JAILLET 2018-03-12 219 goto free_drm; 2c18107b9d58972 Christophe JAILLET 2018-03-12 220 } bbbe775ec5b5dac Neil Armstrong 2016-11-10 221 = bbbe775ec5b5dac Neil Armstrong 2016-11-10 222 priv->io_base =3D r= egs; bbbe775ec5b5dac Neil Armstrong 2016-11-10 223 = bbbe775ec5b5dac Neil Armstrong 2016-11-10 224 res =3D platform_ge= t_resource_byname(pdev, IORESOURCE_MEM, "hhi"); 01a9e9493fb3f65 Christophe JAILLET 2018-06-11 225 if (!res) { 01a9e9493fb3f65 Christophe JAILLET 2018-06-11 226 ret =3D -EINVAL; 01a9e9493fb3f65 Christophe JAILLET 2018-06-11 227 goto free_drm; 01a9e9493fb3f65 Christophe JAILLET 2018-06-11 228 } bbbe775ec5b5dac Neil Armstrong 2016-11-10 229 /* Simply ioremap s= ince it may be a shared register zone */ bbbe775ec5b5dac Neil Armstrong 2016-11-10 230 regs =3D devm_iorem= ap(dev, res->start, resource_size(res)); 2c18107b9d58972 Christophe JAILLET 2018-03-12 231 if (!regs) { 2c18107b9d58972 Christophe JAILLET 2018-03-12 232 ret =3D -EADDRNOTA= VAIL; 2c18107b9d58972 Christophe JAILLET 2018-03-12 233 goto free_drm; 2c18107b9d58972 Christophe JAILLET 2018-03-12 234 } bbbe775ec5b5dac Neil Armstrong 2016-11-10 235 = bbbe775ec5b5dac Neil Armstrong 2016-11-10 236 priv->hhi =3D devm_= regmap_init_mmio(dev, regs, bbbe775ec5b5dac Neil Armstrong 2016-11-10 237 &meson_regmap= _config); bbbe775ec5b5dac Neil Armstrong 2016-11-10 238 if (IS_ERR(priv->hh= i)) { bbbe775ec5b5dac Neil Armstrong 2016-11-10 239 dev_err(&pdev->dev= , "Couldn't create the HHI regmap\n"); 2c18107b9d58972 Christophe JAILLET 2018-03-12 240 ret =3D PTR_ERR(pr= iv->hhi); 2c18107b9d58972 Christophe JAILLET 2018-03-12 241 goto free_drm; bbbe775ec5b5dac Neil Armstrong 2016-11-10 242 } bbbe775ec5b5dac Neil Armstrong 2016-11-10 243 = 66cae477c380d1a Maxime Jourdan 2018-11-05 244 priv->canvas =3D me= son_canvas_get(dev); 2bf6b5b0e374fcc Maxime Jourdan 2019-03-11 245 if (IS_ERR(priv->ca= nvas)) { 2bf6b5b0e374fcc Maxime Jourdan 2019-03-11 246 ret =3D PTR_ERR(pr= iv->canvas); 2bf6b5b0e374fcc Maxime Jourdan 2019-03-11 247 goto free_drm; 2bf6b5b0e374fcc Maxime Jourdan 2019-03-11 248 } 2bf6b5b0e374fcc Maxime Jourdan 2019-03-11 249 = 66cae477c380d1a Maxime Jourdan 2018-11-05 250 ret =3D meson_canva= s_alloc(priv->canvas, &priv->canvas_id_osd1); 66cae477c380d1a Maxime Jourdan 2018-11-05 251 if (ret) 66cae477c380d1a Maxime Jourdan 2018-11-05 252 goto free_drm; f9a2348196d1ab9 Neil Armstrong 2018-11-06 253 ret =3D meson_canva= s_alloc(priv->canvas, &priv->canvas_id_vd1_0); a695949b2e9bb6b Yao Zi 2024-07-03 254 if (ret) a695949b2e9bb6b Yao Zi 2024-07-03 255 goto free_canvas_o= sd1; f9a2348196d1ab9 Neil Armstrong 2018-11-06 256 ret =3D meson_canva= s_alloc(priv->canvas, &priv->canvas_id_vd1_1); a695949b2e9bb6b Yao Zi 2024-07-03 257 if (ret) a695949b2e9bb6b Yao Zi 2024-07-03 258 goto free_canvas_v= d1_0; f9a2348196d1ab9 Neil Armstrong 2018-11-06 259 ret =3D meson_canva= s_alloc(priv->canvas, &priv->canvas_id_vd1_2); a695949b2e9bb6b Yao Zi 2024-07-03 260 if (ret) a695949b2e9bb6b Yao Zi 2024-07-03 261 goto free_canvas_v= d1_1; bbbe775ec5b5dac Neil Armstrong 2016-11-10 262 = bbbe775ec5b5dac Neil Armstrong 2016-11-10 263 priv->vsync_irq =3D= platform_get_irq(pdev, 0); bbbe775ec5b5dac Neil Armstrong 2016-11-10 264 = e770f6bf18182bc Christophe JAILLET 2018-03-12 265 ret =3D drm_vblank_= init(drm, 1); e770f6bf18182bc Christophe JAILLET 2018-03-12 266 if (ret) a695949b2e9bb6b Yao Zi 2024-07-03 267 goto free_canvas_v= d1_2; e770f6bf18182bc Christophe JAILLET 2018-03-12 268 = 8976eeee8de05f1 Neil Armstrong 2020-04-28 269 /* Assign limits pe= r soc revision/package */ 8976eeee8de05f1 Neil Armstrong 2020-04-28 270 for (i =3D 0 ; i < = ARRAY_SIZE(meson_drm_soc_attrs) ; ++i) { 8976eeee8de05f1 Neil Armstrong 2020-04-28 271 if (soc_device_mat= ch(meson_drm_soc_attrs[i].attrs)) { 8976eeee8de05f1 Neil Armstrong 2020-04-28 272 priv->limits =3D = &meson_drm_soc_attrs[i].limits; 8976eeee8de05f1 Neil Armstrong 2020-04-28 273 break; 8976eeee8de05f1 Neil Armstrong 2020-04-28 274 } 8976eeee8de05f1 Neil Armstrong 2020-04-28 275 } 8976eeee8de05f1 Neil Armstrong 2020-04-28 276 = 6848c291a54f8cd Thomas Zimmermann 2021-04-12 277 /* 6848c291a54f8cd Thomas Zimmermann 2021-04-12 278 * Remove early fra= mebuffers (ie. simplefb). The framebuffer can be 6848c291a54f8cd Thomas Zimmermann 2021-04-12 279 * located anywhere= in RAM 6848c291a54f8cd Thomas Zimmermann 2021-04-12 280 */ 736db96696b6232 Thomas Zimmermann 2024-09-30 281 ret =3D aperture_re= move_all_conflicting_devices(meson_driver.name); 6848c291a54f8cd Thomas Zimmermann 2021-04-12 282 if (ret) a695949b2e9bb6b Yao Zi 2024-07-03 283 goto free_canvas_v= d1_2; e3de0aa6c9afdca Maxime Jourdan 2018-12-10 284 = bd9ff7b521a647a Simona Vetter 2020-03-23 285 ret =3D drmm_mode_c= onfig_init(drm); bd9ff7b521a647a Simona Vetter 2020-03-23 286 if (ret) a695949b2e9bb6b Yao Zi 2024-07-03 287 goto free_canvas_v= d1_2; a41e82e6c4575b6 Neil Armstrong 2017-04-04 288 drm->mode_config.ma= x_width =3D 3840; a41e82e6c4575b6 Neil Armstrong 2017-04-04 289 drm->mode_config.ma= x_height =3D 2160; a41e82e6c4575b6 Neil Armstrong 2017-04-04 290 drm->mode_config.fu= ncs =3D &meson_mode_config_funcs; ce0210c12433031 Neil Armstrong 2019-01-14 291 drm->mode_config.he= lper_private =3D &meson_mode_config_helpers; a41e82e6c4575b6 Neil Armstrong 2017-04-04 292 = a41e82e6c4575b6 Neil Armstrong 2017-04-04 293 /* Hardware Initial= ization */ a41e82e6c4575b6 Neil Armstrong 2017-04-04 294 = 09762525d6eafb3 Neil Armstrong 2017-12-06 295 meson_vpu_init(priv= ); a41e82e6c4575b6 Neil Armstrong 2017-04-04 296 meson_venc_init(pri= v); a41e82e6c4575b6 Neil Armstrong 2017-04-04 297 meson_vpp_init(priv= ); a41e82e6c4575b6 Neil Armstrong 2017-04-04 298 meson_viu_init(priv= ); d1b5e41e13a7e9b Neil Armstrong 2019-10-21 299 if (priv->afbcd.ops= ) { d1b5e41e13a7e9b Neil Armstrong 2019-10-21 300 ret =3D priv->afbc= d.ops->init(priv); d1b5e41e13a7e9b Neil Armstrong 2019-10-21 301 if (ret) a695949b2e9bb6b Yao Zi 2024-07-03 302 goto free_canvas_= vd1_2; d1b5e41e13a7e9b Neil Armstrong 2019-10-21 303 } bbbe775ec5b5dac Neil Armstrong 2016-11-10 304 = bbbe775ec5b5dac Neil Armstrong 2016-11-10 305 /* Encoder Initiali= zation */ bbbe775ec5b5dac Neil Armstrong 2016-11-10 306 = 1a9e51bef89af0f Martin Blumenstingl 2024-02-18 307 ret =3D meson_encod= er_cvbs_probe(priv); bbbe775ec5b5dac Neil Armstrong 2016-11-10 308 if (ret) fa747d75f65d1b1 Martin Blumenstingl 2021-12-31 309 goto exit_afbcd; bbbe775ec5b5dac Neil Armstrong 2016-11-10 310 = 8604889f83381ca Neil Armstrong 2017-05-29 311 if (has_components)= { 6a044642988b5f8 Neil Armstrong 2023-05-30 312 ret =3D component_= bind_all(dev, drm); a41e82e6c4575b6 Neil Armstrong 2017-04-04 313 if (ret) { a41e82e6c4575b6 Neil Armstrong 2017-04-04 314 dev_err(drm->dev,= "Couldn't bind all components\n"); 6a044642988b5f8 Neil Armstrong 2023-05-30 315 /* Do not try to = unbind */ 6a044642988b5f8 Neil Armstrong 2023-05-30 316 has_components = =3D false; fa747d75f65d1b1 Martin Blumenstingl 2021-12-31 317 goto exit_afbcd; a41e82e6c4575b6 Neil Armstrong 2017-04-04 318 } 8604889f83381ca Neil Armstrong 2017-05-29 319 } bbbe775ec5b5dac Neil Armstrong 2016-11-10 320 = 1a9e51bef89af0f Martin Blumenstingl 2024-02-18 321 ret =3D meson_encod= er_hdmi_probe(priv); e67f6037ae1be34 Neil Armstrong 2021-10-20 322 if (ret) 6a044642988b5f8 Neil Armstrong 2023-05-30 323 goto exit_afbcd; e67f6037ae1be34 Neil Armstrong 2021-10-20 324 = 42dcf15f901c822 Neil Armstrong 2023-05-30 325 if (meson_vpu_is_co= mpatible(priv, VPU_COMPATIBLE_G12A)) { 1a9e51bef89af0f Martin Blumenstingl 2024-02-18 326 ret =3D meson_enco= der_dsi_probe(priv); 42dcf15f901c822 Neil Armstrong 2023-05-30 327 if (ret) 42dcf15f901c822 Neil Armstrong 2023-05-30 328 goto exit_afbcd; 42dcf15f901c822 Neil Armstrong 2023-05-30 329 } 42dcf15f901c822 Neil Armstrong 2023-05-30 330 = bbbe775ec5b5dac Neil Armstrong 2016-11-10 331 ret =3D meson_plane= _create(priv); bbbe775ec5b5dac Neil Armstrong 2016-11-10 332 if (ret) 6a044642988b5f8 Neil Armstrong 2023-05-30 333 goto exit_afbcd; bbbe775ec5b5dac Neil Armstrong 2016-11-10 334 = f9a2348196d1ab9 Neil Armstrong 2018-11-06 335 ret =3D meson_overl= ay_create(priv); f9a2348196d1ab9 Neil Armstrong 2018-11-06 336 if (ret) 6a044642988b5f8 Neil Armstrong 2023-05-30 337 goto exit_afbcd; f9a2348196d1ab9 Neil Armstrong 2018-11-06 338 = bbbe775ec5b5dac Neil Armstrong 2016-11-10 339 ret =3D meson_crtc_= create(priv); bbbe775ec5b5dac Neil Armstrong 2016-11-10 340 if (ret) 6a044642988b5f8 Neil Armstrong 2023-05-30 341 goto exit_afbcd; bbbe775ec5b5dac Neil Armstrong 2016-11-10 342 = 65a969655cb91fa Thomas Zimmermann 2021-07-06 343 ret =3D request_irq= (priv->vsync_irq, meson_irq, 0, drm->driver->name, drm); bbbe775ec5b5dac Neil Armstrong 2016-11-10 344 if (ret) 6a044642988b5f8 Neil Armstrong 2023-05-30 345 goto exit_afbcd; bbbe775ec5b5dac Neil Armstrong 2016-11-10 346 = bbbe775ec5b5dac Neil Armstrong 2016-11-10 347 drm_mode_config_res= et(drm); bbbe775ec5b5dac Neil Armstrong 2016-11-10 348 = bbbe775ec5b5dac Neil Armstrong 2016-11-10 349 drm_kms_helper_poll= _init(drm); bbbe775ec5b5dac Neil Armstrong 2016-11-10 350 = bbbe775ec5b5dac Neil Armstrong 2016-11-10 351 platform_set_drvdat= a(pdev, priv); bbbe775ec5b5dac Neil Armstrong 2016-11-10 352 = bbbe775ec5b5dac Neil Armstrong 2016-11-10 353 ret =3D drm_dev_reg= ister(drm, 0); bbbe775ec5b5dac Neil Armstrong 2016-11-10 354 if (ret) e31803f51415af4 Myeonghun Pak 2026-05-25 355 goto uninstall_pol= l; bbbe775ec5b5dac Neil Armstrong 2016-11-10 356 = 57a03512c49a2e3 Thomas Zimmermann 2024-09-24 357 drm_client_setup(dr= m, NULL); efbb9df91e03b31 Noralf Tr=F8nnes 2018-09-08 358 = bbbe775ec5b5dac Neil Armstrong 2016-11-10 359 return 0; bbbe775ec5b5dac Neil Armstrong 2016-11-10 360 = e31803f51415af4 Myeonghun Pak 2026-05-25 361 uninstall_poll: e31803f51415af4 Myeonghun Pak 2026-05-25 362 drm_kms_helper_poll= _fini(drm); 2d8f92897ad816f Jean-Philippe Brucker 2019-03-22 @363 uninstall_irq: 65a969655cb91fa Thomas Zimmermann 2021-07-06 364 free_irq(priv->vsyn= c_irq, drm); fa747d75f65d1b1 Martin Blumenstingl 2021-12-31 365 exit_afbcd: fa747d75f65d1b1 Martin Blumenstingl 2021-12-31 366 if (priv->afbcd.ops) fa747d75f65d1b1 Martin Blumenstingl 2021-12-31 367 priv->afbcd.ops->e= xit(priv); a695949b2e9bb6b Yao Zi 2024-07-03 368 free_canvas_vd1_2: a695949b2e9bb6b Yao Zi 2024-07-03 369 meson_canvas_free(p= riv->canvas, priv->canvas_id_vd1_2); a695949b2e9bb6b Yao Zi 2024-07-03 370 free_canvas_vd1_1: a695949b2e9bb6b Yao Zi 2024-07-03 371 meson_canvas_free(p= riv->canvas, priv->canvas_id_vd1_1); a695949b2e9bb6b Yao Zi 2024-07-03 372 free_canvas_vd1_0: a695949b2e9bb6b Yao Zi 2024-07-03 373 meson_canvas_free(p= riv->canvas, priv->canvas_id_vd1_0); a695949b2e9bb6b Yao Zi 2024-07-03 374 free_canvas_osd1: a695949b2e9bb6b Yao Zi 2024-07-03 375 meson_canvas_free(p= riv->canvas, priv->canvas_id_osd1); bbbe775ec5b5dac Neil Armstrong 2016-11-10 376 free_drm: dcacf65139e3def Christophe JAILLET 2018-03-12 377 drm_dev_put(drm); bbbe775ec5b5dac Neil Armstrong 2016-11-10 378 = 42dcf15f901c822 Neil Armstrong 2023-05-30 379 meson_encoder_dsi_r= emove(priv); 6a044642988b5f8 Neil Armstrong 2023-05-30 380 meson_encoder_hdmi_= remove(priv); 6a044642988b5f8 Neil Armstrong 2023-05-30 381 meson_encoder_cvbs_= remove(priv); 6a044642988b5f8 Neil Armstrong 2023-05-30 382 = 6a044642988b5f8 Neil Armstrong 2023-05-30 383 if (has_components) 6a044642988b5f8 Neil Armstrong 2023-05-30 384 component_unbind_a= ll(dev, drm); 6a044642988b5f8 Neil Armstrong 2023-05-30 385 = bbbe775ec5b5dac Neil Armstrong 2016-11-10 386 return ret; bbbe775ec5b5dac Neil Armstrong 2016-11-10 387 } bbbe775ec5b5dac Neil Armstrong 2016-11-10 388 = -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic