From: Lucas De Marchi <lucas.demarchi@intel.com>
To: Thomas Zimmermann <tzimmermann@suse.de>
Cc: <jani.nikula@linux.intel.com>, <joonas.lahtinen@linux.intel.com>,
<rodrigo.vivi@intel.com>, <ville.syrjala@linux.intel.com>,
<imre.deak@intel.com>, <tejas.upadhyay@intel.com>,
<jouni.hogander@intel.com>, <javierm@redhat.com>,
<airlied@gmail.com>, <daniel@ffwll.ch>, <ogabbay@kernel.org>,
<thomas.hellstrom@linux.intel.com>,
<intel-gfx@lists.freedesktop.org>,
<dri-devel@lists.freedesktop.org>,
<intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH v8 0/6] drm/{i915,xe}: Convert fbdev to DRM client
Date: Wed, 24 Apr 2024 15:29:40 -0500 [thread overview]
Message-ID: <ypktbd2nxt2dd6h2yzgcuz3zlgvpsdbldib2bhvh6pq4w55mq5@ryp7doqn6sye> (raw)
In-Reply-To: <20240409081029.17843-1-tzimmermann@suse.de>
On Tue, Apr 09, 2024 at 10:04:22AM GMT, Thomas Zimmermann wrote:
>(was: drm/i915: Convert fbdev to DRM client)
>
>Convert i915's fbdev code to struct drm_client. Replaces the current
>ad-hoc integration. The conversion includes a number of cleanups. Also
>update the xe driver accordingly.
>
>As with the other drivers' fbdev emulation, fbdev in i915 is now
>an in-kernel DRM client that runs after the DRM device has been
>registered. This allows to remove the asynchronous initialization.
>
>i915 and xe are the final drivers with an fbdev emulation that is not
>build upon struct drm_client. Once reviewed, the patches would ideally go
>into drm-misc-next, so that the old fbdev helper code can be removed.
>
>We can also attempt to add additional in-kernel clients. A DRM-based
>dmesg log or a bootsplash are commonly mentioned. DRM can then switch
>easily among the existing clients if/when required.
>
>v8:
>- do setup and cleanup in intel_display_driver_{register,unregister}()
> (Jani, Jouni)
>- mention xe in several commit messages (Rodrigo, Jani)
>- resort patches to put driver-independent changes first
>- slightly reword cover letter
>
>v7:
>- update xe driver
>
>v6:
>- reorder patches to fix build (Jouni)
>- remove unnecessary handling of non-atomic commits (Jouni, Ville)
>- return errors from callbacks (Jouni)
>- various minor fixes
>
>v5:
>- style fixes (checkpatch)
>
>v4:
><no changes>
>
>v3:
>- support module unloading (Jani, CI bot)
>- as before, silently ignore devices without displays (CI bot)
>
>v2:
>- fix error handling (Jani)
>- fix non-fbdev builds
>- various minor fixes and cleanups
>
>Thomas Zimmermann (6):
> drm/client: Export drm_client_dev_unregister()
> drm/i915: Move fbdev functions
> drm/i915: Initialize fbdev DRM client with callback functions
> drm/{i915,xe}: Unregister in-kernel clients
> drm/{i915,xe}: Implement fbdev client callbacks
> drm/{i915,xe}: Implement fbdev emulation as in-kernel client
>
> drivers/gpu/drm/drm_client.c | 13 +
> drivers/gpu/drm/i915/display/intel_display.c | 1 -
> .../drm/i915/display/intel_display_driver.c | 24 +-
> drivers/gpu/drm/i915/display/intel_fbdev.c | 265 ++++++++++--------
> drivers/gpu/drm/i915/display/intel_fbdev.h | 29 +-
> drivers/gpu/drm/i915/i915_driver.c | 22 --
> drivers/gpu/drm/xe/display/xe_display.c | 11 -
> drivers/gpu/drm/xe/xe_device.c | 1 +
Acked-by: Lucas De Marchi <lucas.demarchi@intel.com>
thanks
Lucas De Marchi
> 8 files changed, 167 insertions(+), 199 deletions(-)
>
>--
>2.44.0
>
prev parent reply other threads:[~2024-04-24 20:29 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-09 8:04 [PATCH v8 0/6] drm/{i915,xe}: Convert fbdev to DRM client Thomas Zimmermann
2024-04-09 8:04 ` [PATCH v8 1/6] drm/client: Export drm_client_dev_unregister() Thomas Zimmermann
2024-04-22 14:09 ` Hogander, Jouni
2024-04-09 8:04 ` [PATCH v8 2/6] drm/i915: Move fbdev functions Thomas Zimmermann
2024-04-09 8:04 ` [PATCH v8 3/6] drm/i915: Initialize fbdev DRM client with callback functions Thomas Zimmermann
2024-04-09 8:04 ` [PATCH v8 4/6] drm/{i915,xe}: Unregister in-kernel clients Thomas Zimmermann
2024-04-22 14:10 ` Hogander, Jouni
2024-04-09 8:04 ` [PATCH v8 5/6] drm/{i915,xe}: Implement fbdev client callbacks Thomas Zimmermann
2024-04-09 8:04 ` [PATCH v8 6/6] drm/{i915, xe}: Implement fbdev emulation as in-kernel client Thomas Zimmermann
2024-04-22 14:11 ` [PATCH v8 6/6] drm/{i915,xe}: " Hogander, Jouni
2024-04-23 11:13 ` Thomas Zimmermann
2024-04-23 11:36 ` Hogander, Jouni
2024-04-23 13:09 ` Thomas Zimmermann
2024-04-25 11:51 ` Jani Nikula
2024-04-23 13:49 ` Jani Nikula
2024-04-24 20:29 ` Lucas De Marchi [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=ypktbd2nxt2dd6h2yzgcuz3zlgvpsdbldib2bhvh6pq4w55mq5@ryp7doqn6sye \
--to=lucas.demarchi@intel.com \
--cc=airlied@gmail.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=imre.deak@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=javierm@redhat.com \
--cc=joonas.lahtinen@linux.intel.com \
--cc=jouni.hogander@intel.com \
--cc=ogabbay@kernel.org \
--cc=rodrigo.vivi@intel.com \
--cc=tejas.upadhyay@intel.com \
--cc=thomas.hellstrom@linux.intel.com \
--cc=tzimmermann@suse.de \
--cc=ville.syrjala@linux.intel.com \
/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;
as well as URLs for NNTP newsgroup(s).