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 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 50ECFC88E6F for ; Mon, 26 Jan 2026 08:28:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B283010E3A9; Mon, 26 Jan 2026 08:28:52 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="KD3PBLjM"; dkim-atps=neutral Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1388A10E3A9 for ; Mon, 26 Jan 2026 08:28:51 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 88E9960127; Mon, 26 Jan 2026 08:28:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E1D7C19421; Mon, 26 Jan 2026 08:28:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769416130; bh=i0L0U5tLgBAptErn/4aun1UYAA4iP6N9USbirT82Ink=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KD3PBLjMJ9sIxP/zV/qBGzjf6J5eWHPEWWpaSIzmSilD8K5eMXJ6MUXvSQ2IYtZWg g2z/41S1QCjX3daNqyPSKPX6GDsC6ZMoyrBmGMX0af0JJQw7wfNczcxZxuhGH45Rt0 ZMXXBe5YjjWdCQZV26dAtc/vC5oYbGkO8lvjrWXN7xCgvUIYHj0sNmghJLk2unbVPg smdAXUiunsxniW+M/pdzAJwsz86WhUIcWDRlV4N9Z3wnm34Df2KdfBDNt4k0dnLX2X e+DaxhBFf5PSwXaHM5l6mE+epv27qc8k13tyViY+VyZh5nNV2Rne/GVQLnL5FiU0zG mW52icb+IROOA== Date: Mon, 26 Jan 2026 08:28:46 +0000 From: Tzung-Bi Shih To: Thomas Zimmermann Cc: briannorris@chromium.org, jwerner@chromium.org, javierm@redhat.com, samuel@sholland.org, maarten.lankhorst@linux.intel.com, mripard@kernel.org, airlied@gmail.com, simona@ffwll.ch, chrome-platform@lists.linux.dev, dri-devel@lists.freedesktop.org Subject: Re: [PATCH v2 03/12] firmware: google: framebuffer: Init memory resource with helper macro Message-ID: References: <20260115082128.12460-1-tzimmermann@suse.de> <20260115082128.12460-4-tzimmermann@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260115082128.12460-4-tzimmermann@suse.de> 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" On Thu, Jan 15, 2026 at 08:57:13AM +0100, Thomas Zimmermann wrote: > Initialize framebuffer memory resource with DEFINE_RES_MEM() instead > of open-coding the setup. > > While at it, drop the resource name to make the kernel use the device > name of the simple-framebuffer device for the resource. The latter > includes a device number. While the meaning of the resource name is > somewhat fuzzy and varies across entries in /proc/iomem, showing the > device name seems more helpful than showing a fixed name. > > Signed-off-by: Thomas Zimmermann Acked-by: Tzung-Bi Shih