From patchwork Mon Dec 18 15:48:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 180520 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp1340009dyi; Mon, 18 Dec 2023 07:59:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IHqjIrwXONzuLFtVTrKFebHRzm6ate7clQ26RwWmcDFpqrAQj5ha99JN88Z6H17mBbMnmCx X-Received: by 2002:a17:902:654c:b0:1d3:b22c:ed3e with SMTP id d12-20020a170902654c00b001d3b22ced3emr2288942pln.23.1702915157061; Mon, 18 Dec 2023 07:59:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702915157; cv=none; d=google.com; s=arc-20160816; b=AfAhSJ5Y0lNxHinJ/gI0oQpNOK8YTE1mPx7Kgbw5BHjJUrlWczZfb5CIsxjnbzRBTb IZeQ+O03tz8YBlYea/EQWBB/hk+cD/eihTmFqhnppCN6L/kkpMw1C5evU5LfpHTiypi+ U5lGeI7TZd8v+/GqLCuVIMuZAbzGbNoN33t5CTtlOgwnRPJgH+vqE46dG2coNDijVn7a BuHD66IKlAZod8eY9l0kxYjnWTmtOjvNqSVvq3MakdwOm/D3vfnfuttIkG4kpYr2MJnV U5/jqjCuV4GTPg77PjB7dXlMGG0U5k3hoUm/oOh3NOLdAblc4ajdGc/ASjB7tCD6r7mt WTEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=nKUBapAjhj0X0B96M3zAwIkjMB25EHCfu9hZ082V30o=; fh=usGf5YuzJErDBs3RZupISTmb3HS19kiaPLLfDcr/Qdk=; b=FRAvIrov15dU1TuJyynF46v78AcfxePagmQeAjiUJJNbuP3TVk714ohYTYm2vrRNAf 5g8Og/XdKX49mbVhH1Hzu44llAiYljQTnXKRK/SO8im7YIScJtTZyxnUnjnbRQ0gUfqm DN9walD/y5dqmiKKX5p14oP2HyOUFePH6ZLkmBduYzAhahcCLE2kozIymTsuGC6dYDAv Le4ccMwD9pKBZLRD//s5/pWHvdcZa8w2+H1qV0lHFS2Rt4UjysM2viNPkrkxoajg/ZyX +u3xhGDcyF5IxvpzD/pcWA71RlzCLP/zFBt5HLFepI4epupL5BF7rutmUiYZC3j3D5Wl RLyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CJ8LSnv2; spf=pass (google.com: domain of linux-kernel+bounces-3983-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3983-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id h4-20020a170902b94400b001cfb834d371si17765746pls.113.2023.12.18.07.59.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 07:59:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3983-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CJ8LSnv2; spf=pass (google.com: domain of linux-kernel+bounces-3983-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3983-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 34F30B23E5E for ; Mon, 18 Dec 2023 15:51:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E0584FF74; Mon, 18 Dec 2023 15:48:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CJ8LSnv2" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (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 13FDE4FF66 for ; Mon, 18 Dec 2023 15:48:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a2356bb40e3so105486666b.1 for ; Mon, 18 Dec 2023 07:48:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702914522; x=1703519322; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=nKUBapAjhj0X0B96M3zAwIkjMB25EHCfu9hZ082V30o=; b=CJ8LSnv2lgXXIZIViabbhDPgDW8icMxYC8xhGIHgDObiDXSJG7Kd3qZ2VQLHOpDt9S 5h4lJ52STLYCex0JiTTYR9GEaAzou+s+TezQnEKnc8OPEN3xycyFE84mIwBpelIajC1U je35VQc3PZVc4wMJVdchBx+NPOM6hrJaVhJ0DB8fe1rMIu0xQQic6B7ZNTjCsxAwjWvK 3C+2K4sMujMEAbaZYufDhfudn+TLDecBQu2aMMbidbGRGsGUi6VcJRXme5lmgEhx6bas maTLaAvC1y8Bx6djJjR+xvbUKU3PFOel4gol+ofC9tuBctK73RkA1+Cndtspm3BPLNCs sDSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702914522; x=1703519322; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nKUBapAjhj0X0B96M3zAwIkjMB25EHCfu9hZ082V30o=; b=ZZ60+pltaKBRklrOmFZy0C9qGizQXTvips5lt/QNMkecWR8dtLa5FtvQ8iLU4KYQSf 7Fh9tteBHlaGTzaJVom032LdnvtLfF1Qn47Oh3rvOBbrB5YjZqHz/T6ZEGrxnynz5i6W HzrH2Wi29zQZoLlrv5FnWlTivPvVDAObidIDU4lt4+PM+g86olzCAnlpNIlRWK99///6 7SQTNZXInc5foFyD84WBpUjih5PdNYheq1j1o5CObytMBr/oTNRgpd8+xrszCpy4wsiX RLujKEOM7T1Z1iMCEFzlYrHPK2fg2yuyZOotZKghFtYEd1OSp1yg2fVsiSPGkQ1Qi+BE 1Kvw== X-Gm-Message-State: AOJu0Yxz/esLDzkBSQqxOtr9Y9JDia1t0SSFBcIFBl+hPCqmWMBHmzfp /+2OzNglRMbgR9oCNkU6w9A= X-Received: by 2002:a17:906:7399:b0:a23:6c6e:6b4b with SMTP id f25-20020a170906739900b00a236c6e6b4bmr282667ejl.45.1702914522076; Mon, 18 Dec 2023 07:48:42 -0800 (PST) Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id vq6-20020a170907a4c600b00a19b7362dcfsm14334325ejc.139.2023.12.18.07.48.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Dec 2023 07:48:41 -0800 (PST) Message-ID: <745f84db-dc9b-81b2-6171-4d8d86a96966@gmail.com> Date: Mon, 18 Dec 2023 16:48:40 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 From: Johan Jonker Subject: [PATCH v2 1/2] drm/rockchip: rk3066_hdmi: remove unused drm device pointer To: hjc@rock-chips.com, heiko@sntech.de, andy.yan@rock-chips.com Cc: maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org References: Content-Language: en-US In-Reply-To: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785635963936989506 X-GMAIL-MSGID: 1785635963936989506 The drm_dev field in the rk3066_hdmi struct stores a pointer to the DRM device but is never used anywhere in the driver. Let's remove it. Signed-off-by: Johan Jonker Reviewed-by: Maxime Ripard --- drivers/gpu/drm/rockchip/rk3066_hdmi.c | 2 -- 1 file changed, 2 deletions(-) -- 2.39.2 diff --git a/drivers/gpu/drm/rockchip/rk3066_hdmi.c b/drivers/gpu/drm/rockchip/rk3066_hdmi.c index 62e6d8187de7..0dac6d133767 100644 --- a/drivers/gpu/drm/rockchip/rk3066_hdmi.c +++ b/drivers/gpu/drm/rockchip/rk3066_hdmi.c @@ -40,7 +40,6 @@ struct rk3066_hdmi_i2c { struct rk3066_hdmi { struct device *dev; - struct drm_device *drm_dev; struct regmap *grf_regmap; int irq; struct clk *hclk; @@ -752,7 +751,6 @@ static int rk3066_hdmi_bind(struct device *dev, struct device *master, return -ENOMEM; hdmi->dev = dev; - hdmi->drm_dev = drm; hdmi->regs = devm_platform_ioremap_resource(pdev, 0); if (IS_ERR(hdmi->regs)) return PTR_ERR(hdmi->regs); From patchwork Mon Dec 18 15:49:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 180513 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp1335771dyi; Mon, 18 Dec 2023 07:52:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFVGlCnDMFUMc3NnvdPsMPT4mLfY/uJ6kWQYUJjLRfiO78U0roGArXj6ZyvqJWrLq8OvxR X-Received: by 2002:a05:6102:cd2:b0:45d:9a4d:dc1b with SMTP id g18-20020a0561020cd200b0045d9a4ddc1bmr12383381vst.3.1702914727609; Mon, 18 Dec 2023 07:52:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702914727; cv=none; d=google.com; s=arc-20160816; b=iOffWwv8lW9Vdr6tF40Md02kUSsV1PRuPzins0lj2f6dR4+W/dbSz0UvnU9Q/LWuc6 t0+srAnobeuRVy+nbL5O975HksdCgMc0feB+5iv9r8Go3g2584ZmdYskwy3vxVstIfXl TaPP2UNibnpoOKlaWWOI++q1eR+rqiAIGsC7UbqtGu1c7yDOiFRRJ2cjK5cnAqGBndMF r+44qlXFTYTXXdDBfFYLtEHZMrtQmAmfeNIBHHTYYt2/f0mHLSkziew+gY8PyBkJ9Ltb s9eRlUbjSn9uuuORJjnPnQ2B1aF1qmVzuDq3t22aQ0ioKAHPRD/H1lK5iXiOpS77mYMH Z0nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=DCQzgc7HZIXkjhrSZNLJQoxchuiI/YLWggopgdNCG/w=; fh=usGf5YuzJErDBs3RZupISTmb3HS19kiaPLLfDcr/Qdk=; b=OJQdujqIFIS0SaL6BLhAkf4Lz+hPcZtvMmuf2fbPjvCKd86ofXa30FwcpkS7gJyz1r /r3QtQHMjngtmWfzEK5c+2vxTVVMydYAD5dW+OY1aQKnVULh2tbgca1wSle6+AhCjH3o bCL0cuz0nyNbF/TU5htBHjvFo2JFPUDQa+RHtDndRvT491b3AtZKS6RqcXrs/hVe0AFA CUE9+dePUl65zLUD5a+pgUK9UyOg+ho1mWtBNabVpHfkVNvOSSD7HpGc/0qqX595HhU/ mC5kX+Gl8Lcr0kZdS3hTi/vFEkCCt7mtaYxcZnHxXzMb22hJC71ns6d4eXbD5Oe1UJmo 4o5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=V0ZipNc7; spf=pass (google.com: domain of linux-kernel+bounces-3985-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3985-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h11-20020a67c58b000000b00466a20d83d0si171591vsk.778.2023.12.18.07.52.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 07:52:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3985-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=V0ZipNc7; spf=pass (google.com: domain of linux-kernel+bounces-3985-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3985-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 518A91C24576 for ; Mon, 18 Dec 2023 15:52:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 024B75A863; Mon, 18 Dec 2023 15:49:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="V0ZipNc7" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (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 AB7904FF89 for ; Mon, 18 Dec 2023 15:49:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-55372c1338bso886696a12.2 for ; Mon, 18 Dec 2023 07:49:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702914548; x=1703519348; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=DCQzgc7HZIXkjhrSZNLJQoxchuiI/YLWggopgdNCG/w=; b=V0ZipNc7cYu/D0tASq6sGcfXmUAg1wuUB8WeTm1QuibrxV6JZt0dB6pVGzf2pBiAje CtIqoaXerxLBIFjyv62RAmqLs3sJMGMfhc3Q2d0xnP9Z5UUH+HxxbBr4bROimIhBGV4u y3x7GUWTa9pK3Omsle12Pkyeb9CD+fDNTu0e13Wc1OFMNV/f1S0oBL7r3867waV/1wZz wGHtQkUSwyOe7UYrywlBOyXsD/HflOeSlnDecNTzzS0lbZvRKxFAm3sVc/qLjVTHvwAU bGMZkuqi2SUcrZlUh9tpSY2NqllX2zLqnthhkEFAOXjmSBbxmyVNzBNus52NTvDccDKD jn6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702914548; x=1703519348; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DCQzgc7HZIXkjhrSZNLJQoxchuiI/YLWggopgdNCG/w=; b=s8llZ/G9shUV9VhpQK4W4l96iKLpdy9gJ6A+vnErN9xyL6ixHIYPhwXWdPzcdz/tHo aOKD0RTG52zQVoXPXywKbipybFlpgKN3CyDWBHZpffV5ovSKRIdseFawleK0lzPniUTT hy6oaJwaE4hn6uCyDj8cr1oMvj3JTgawod7XkauDlxKOBcBkKWBN35X5D7t5/MVwGSdt U9lyvEnOjTvRAQRnQRGd09UQpuJATYeckwpu2vxfWxM+u7m9drK+n6KGx9/6KBcOLicI 9hxKAEAj99oYRIm/EDfIUii0V8BEuFohgv2FImg9/WphZz0pWrETe7xoThL/B1p6uzVW O00Q== X-Gm-Message-State: AOJu0Yw0/JN/SMzUlWYaHhUNZVWzgCx0W9gVMzriI4imDp9NYGE5LH2m MsiHTpoCf7DD5wiX9ngo0WI= X-Received: by 2002:a17:906:da08:b0:a19:a19a:eadf with SMTP id fi8-20020a170906da0800b00a19a19aeadfmr7048806ejb.152.1702914547563; Mon, 18 Dec 2023 07:49:07 -0800 (PST) Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id v19-20020a170906489300b00a236378a43fsm654118ejq.62.2023.12.18.07.49.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Dec 2023 07:49:07 -0800 (PST) Message-ID: <410b116b-cb63-7ba7-3689-4f0832ab5796@gmail.com> Date: Mon, 18 Dec 2023 16:49:06 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 From: Johan Jonker Subject: [PATCH v2 2/2] drm/rockchip: rk3066_hdmi: drop custom fill_modes hook To: hjc@rock-chips.com, heiko@sntech.de, andy.yan@rock-chips.com Cc: maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org References: Content-Language: en-US In-Reply-To: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785635513444436178 X-GMAIL-MSGID: 1785635513444436178 CRTC size validation for the display controller has been added with Commit 8e140cb60270 ("drm/rockchip: vop: limit maximum resolution to hardware capabilities"), so we can drop the custom fill_modes hook. Signed-off-by: Johan Jonker --- drivers/gpu/drm/rockchip/rk3066_hdmi.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) -- 2.39.2 diff --git a/drivers/gpu/drm/rockchip/rk3066_hdmi.c b/drivers/gpu/drm/rockchip/rk3066_hdmi.c index 0dac6d133767..6dadd753985c 100644 --- a/drivers/gpu/drm/rockchip/rk3066_hdmi.c +++ b/drivers/gpu/drm/rockchip/rk3066_hdmi.c @@ -501,18 +501,6 @@ rk3066_hdmi_connector_best_encoder(struct drm_connector *connector) return &hdmi->encoder.encoder; } -static int -rk3066_hdmi_probe_single_connector_modes(struct drm_connector *connector, - uint32_t maxX, uint32_t maxY) -{ - if (maxX > 1920) - maxX = 1920; - if (maxY > 1080) - maxY = 1080; - - return drm_helper_probe_single_connector_modes(connector, maxX, maxY); -} - static void rk3066_hdmi_connector_destroy(struct drm_connector *connector) { drm_connector_unregister(connector); @@ -520,7 +508,7 @@ static void rk3066_hdmi_connector_destroy(struct drm_connector *connector) } static const struct drm_connector_funcs rk3066_hdmi_connector_funcs = { - .fill_modes = rk3066_hdmi_probe_single_connector_modes, + .fill_modes = drm_helper_probe_single_connector_modes, .detect = rk3066_hdmi_connector_detect, .destroy = rk3066_hdmi_connector_destroy, .reset = drm_atomic_helper_connector_reset,