mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Helge Deller <deller@gmx.de>
To: Giovanni Di Santi <giovanni.disanti.lkl@gmail.com>, tzimmermann@suse.de
Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 0/3] fbdev: kyro: Convert to managed device resources
Date: Sun, 27 Jul 2025 19:57:36 +0200	[thread overview]
Message-ID: <aab3d187-9204-4908-afc8-2a7347b93006@gmx.de> (raw)
In-Reply-To: <20250709095354.931589-1-giovanni.disanti.lkl@gmail.com>

On 7/9/25 11:53, Giovanni Di Santi wrote:
> This series aims to address the TODO item "Request memory regions in all
> fbdev drivers" from Documentation/gpu/todo.rst.
> Additionally, it also converts the kyro framebuffer driver to use managed device
> functions.
> 
> In summary, it converts the driver to use:
> 1. Managed PCI device enable and region request functions
> 2. Managed ioremap for MMIO registers
> 3. Managed ioremap_wc for screen memory
> 
> This simplifies error handling and removes the need for manual cleanup
> in the remove function.
> 
> Changes in v3:
> - Split into a patch series as suggested by Thomas Zimmermann [1]
> - Convert ioremap calls to devm_ variants
> 
> Changes in v2:
> - Use pcim_enable_device() instead of pci_enable_device()
> - Use pcim_request_all_regions() instead of pci_request_regions()
> - Removed manual cleanup code as it's now automatic
> 
> [1] https://lore.kernel.org/lkml/fd6403d7-93f4-4fa4-ad0d-3ab91cba8183@suse.de/
> 
> Giovanni Di Santi (3):
>    fbdev: kyro: Add missing PCI memory region request
>    fbdev: kyro: Use devm_ioremap() for mmio registers
>    fbdev: kyro: Use devm_ioremap_wc() for screen mem
> 
>   drivers/video/fbdev/kyro/fbdev.c | 24 ++++++++++++------------
>   1 file changed, 12 insertions(+), 12 deletions(-)

series applied to fbdev git tree.

Thanks!
Helge

      parent reply	other threads:[~2025-07-27 16:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-09  9:53 Giovanni Di Santi
2025-07-09  9:53 ` [PATCH v3 1/3] fbdev: kyro: Add missing PCI memory region request Giovanni Di Santi
2025-07-09  9:53 ` [PATCH v3 2/3] fbdev: kyro: Use devm_ioremap() for mmio registers Giovanni Di Santi
2025-07-09  9:53 ` [PATCH v3 3/3] fbdev: kyro: Use devm_ioremap_wc() for screen mem Giovanni Di Santi
2025-07-27 17:57 ` Helge Deller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aab3d187-9204-4908-afc8-2a7347b93006@gmx.de \
    --to=deller@gmx.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=giovanni.disanti.lkl@gmail.com \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®