intel-xe.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Thomas Zimmermann <tzimmermann@suse.de>,
	javierm@redhat.com, airlied@gmail.com, simona@ffwll.ch,
	maarten.lankhorst@linux.intel.com, mripard@kernel.org
Cc: dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org,
	intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org,
	Thomas Zimmermann <tzimmermann@suse.de>,
	Joonas Lahtinen <joonas.lahtinen@linux.intel.com>,
	Rodrigo Vivi <rodrigo.vivi@intel.com>,
	Tvrtko Ursulin <tursulin@ursulin.net>
Subject: Re: [PATCH 07/28] drm/i915: Use video aperture helpers
Date: Wed, 02 Oct 2024 14:54:49 +0300	[thread overview]
Message-ID: <87a5fmu3cm.fsf@intel.com> (raw)
In-Reply-To: <20240930130921.689876-8-tzimmermann@suse.de>

On Mon, 30 Sep 2024, Thomas Zimmermann <tzimmermann@suse.de> wrote:
> DRM's aperture functions have long been implemented as helpers
> under drivers/video/ for use with fbdev. Avoid the DRM wrappers by
> calling the video functions directly.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
> Cc: Jani Nikula <jani.nikula@linux.intel.com>
> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Cc: Tvrtko Ursulin <tursulin@ursulin.net>

Acked-by: Jani Nikula <jani.nikula@intel.com>

> ---
>  drivers/gpu/drm/i915/i915_driver.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_driver.c b/drivers/gpu/drm/i915/i915_driver.c
> index b3eb35fa5ff8..365329ff8a07 100644
> --- a/drivers/gpu/drm/i915/i915_driver.c
> +++ b/drivers/gpu/drm/i915/i915_driver.c
> @@ -27,6 +27,7 @@
>   *
>   */
>  
> +#include <linux/aperture.h>
>  #include <linux/acpi.h>
>  #include <linux/device.h>
>  #include <linux/module.h>
> @@ -39,7 +40,6 @@
>  #include <linux/vga_switcheroo.h>
>  #include <linux/vt.h>
>  
> -#include <drm/drm_aperture.h>
>  #include <drm/drm_atomic_helper.h>
>  #include <drm/drm_ioctl.h>
>  #include <drm/drm_managed.h>
> @@ -485,7 +485,7 @@ static int i915_driver_hw_probe(struct drm_i915_private *dev_priv)
>  	if (ret)
>  		goto err_perf;
>  
> -	ret = drm_aperture_remove_conflicting_pci_framebuffers(pdev, dev_priv->drm.driver);
> +	ret = aperture_remove_conflicting_pci_devices(pdev, dev_priv->drm.driver->name);
>  	if (ret)
>  		goto err_ggtt;

-- 
Jani Nikula, Intel

  reply	other threads:[~2024-10-02 11:54 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-30 13:02 [PATCH 00/28] drm: Remove DRM aperture helpers Thomas Zimmermann
2024-09-30 13:02 ` [PATCH 01/28] drm/amdgpu: Use video " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 02/28] drm/arm/hdlcd: " Thomas Zimmermann
2024-10-02 13:48   ` Liviu Dudau
2024-09-30 13:03 ` [PATCH 03/28] drm/armada: " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 04/28] drm/ast: " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 05/28] drm/hisilicon/hibmc: " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 06/28] drm/hyperv-drm: " Thomas Zimmermann
2024-09-30 16:22   ` Deepak Rawat
2024-09-30 13:03 ` [PATCH 07/28] drm/i915: " Thomas Zimmermann
2024-10-02 11:54   ` Jani Nikula [this message]
2024-09-30 13:03 ` [PATCH 08/28] drm/loongson: " Thomas Zimmermann
2024-10-04  9:01   ` Sui Jingfeng
2024-09-30 13:03 ` [PATCH 09/28] drm/meson: " Thomas Zimmermann
2024-09-30 13:16   ` Neil Armstrong
2024-09-30 13:03 ` [PATCH 10/28] drm/mgag200: " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 11/28] drm/msm: " Thomas Zimmermann
2024-10-19 13:52   ` Dmitry Baryshkov
2024-09-30 13:03 ` [PATCH 12/28] drm/nouveau: " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 13/28] drm/ofdrm: " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 14/28] drm/qxl: " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 15/28] drm/radeon: " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 16/28] drm/rockchip: " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 17/28] drm/simpledrm: " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 18/28] drm/stm: " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 19/28] drm/sun4i: " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 20/28] drm/tegra: " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 21/28] drm/bochs: " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 22/28] drm/cirrus: " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 23/28] drm/vboxvideo: " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 24/28] drm/vc4: " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 25/28] drm/virtgpu: " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 26/28] drm/vmwgfx: " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 27/28] drm/xe: " Thomas Zimmermann
2024-09-30 13:03 ` [PATCH 28/28] drm: Remove DRM " Thomas Zimmermann
2024-09-30 14:06   ` Deucher, Alexander
2024-09-30 13:26 ` [PATCH 00/28] " Javier Martinez Canillas
2024-09-30 19:22 ` ✓ CI.Patch_applied: success for " Patchwork
2024-09-30 19:22 ` ✗ CI.checkpatch: warning " Patchwork
2024-09-30 19:24 ` ✓ CI.KUnit: success " Patchwork
2024-09-30 19:35 ` ✓ CI.Build: " Patchwork
2024-09-30 19:37 ` ✓ CI.Hooks: " Patchwork
2024-09-30 19:40 ` ✗ CI.checksparse: warning " Patchwork
2024-09-30 20:02 ` ✓ CI.BAT: success " Patchwork
2024-10-01  3:28 ` ✗ CI.FULL: failure " Patchwork
2024-10-21 12:17 ` (subset) [PATCH 00/28] " Dmitry Baryshkov

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=87a5fmu3cm.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=airlied@gmail.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=javierm@redhat.com \
    --cc=joonas.lahtinen@linux.intel.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=rodrigo.vivi@intel.com \
    --cc=simona@ffwll.ch \
    --cc=tursulin@ursulin.net \
    --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;
as well as URLs for NNTP newsgroup(s).