All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Zimmermann <tzimmermann@suse.de>
To: daniel@ffwll.ch, airlied@gmail.com, deller@gmx.de, javierm@redhat.com
Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org,
	intel-gfx@lists.freedesktop.org, amd-gfx@lists.freedesktop.org,
	linux-arm-kernel@lists.infradead.org,
	linux-hyperv@vger.kernel.org,
	Thomas Zimmermann <tzimmermann@suse.de>
Subject: [PATCH 03/18] drm/gma500: Do not set struct fb_info.apertures
Date: Mon, 19 Dec 2022 17:05:01 +0100	[thread overview]
Message-ID: <20221219160516.23436-4-tzimmermann@suse.de> (raw)
In-Reply-To: <20221219160516.23436-1-tzimmermann@suse.de>

Generic fbdev drivers use the apertures field in struct fb_info to
control ownership of the framebuffer memory and graphics device. Do
not set the values in gma500.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
 drivers/gpu/drm/gma500/framebuffer.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/gma500/framebuffer.c b/drivers/gpu/drm/gma500/framebuffer.c
index 8d5a37b8f110..9e892a82e109 100644
--- a/drivers/gpu/drm/gma500/framebuffer.c
+++ b/drivers/gpu/drm/gma500/framebuffer.c
@@ -297,11 +297,6 @@ static int psbfb_create(struct drm_fb_helper *fb_helper,
 	info->screen_base = dev_priv->vram_addr + backing->offset;
 	info->screen_size = size;
 
-	if (dev_priv->gtt.stolen_size) {
-		info->apertures->ranges[0].base = dev_priv->fb_base;
-		info->apertures->ranges[0].size = dev_priv->gtt.stolen_size;
-	}
-
 	drm_fb_helper_fill_info(info, fb_helper, sizes);
 
 	info->fix.mmio_start = pci_resource_start(pdev, 0);
-- 
2.39.0


WARNING: multiple messages have this Message-ID (diff)
From: Thomas Zimmermann <tzimmermann@suse.de>
To: daniel@ffwll.ch, airlied@gmail.com, deller@gmx.de, javierm@redhat.com
Cc: linux-fbdev@vger.kernel.org, intel-gfx@lists.freedesktop.org,
	linux-hyperv@vger.kernel.org, amd-gfx@lists.freedesktop.org,
	dri-devel@lists.freedesktop.org,
	Thomas Zimmermann <tzimmermann@suse.de>,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH 03/18] drm/gma500: Do not set struct fb_info.apertures
Date: Mon, 19 Dec 2022 17:05:01 +0100	[thread overview]
Message-ID: <20221219160516.23436-4-tzimmermann@suse.de> (raw)
In-Reply-To: <20221219160516.23436-1-tzimmermann@suse.de>

Generic fbdev drivers use the apertures field in struct fb_info to
control ownership of the framebuffer memory and graphics device. Do
not set the values in gma500.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
 drivers/gpu/drm/gma500/framebuffer.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/gma500/framebuffer.c b/drivers/gpu/drm/gma500/framebuffer.c
index 8d5a37b8f110..9e892a82e109 100644
--- a/drivers/gpu/drm/gma500/framebuffer.c
+++ b/drivers/gpu/drm/gma500/framebuffer.c
@@ -297,11 +297,6 @@ static int psbfb_create(struct drm_fb_helper *fb_helper,
 	info->screen_base = dev_priv->vram_addr + backing->offset;
 	info->screen_size = size;
 
-	if (dev_priv->gtt.stolen_size) {
-		info->apertures->ranges[0].base = dev_priv->fb_base;
-		info->apertures->ranges[0].size = dev_priv->gtt.stolen_size;
-	}
-
 	drm_fb_helper_fill_info(info, fb_helper, sizes);
 
 	info->fix.mmio_start = pci_resource_start(pdev, 0);
-- 
2.39.0


WARNING: multiple messages have this Message-ID (diff)
From: Thomas Zimmermann <tzimmermann@suse.de>
To: daniel@ffwll.ch, airlied@gmail.com, deller@gmx.de, javierm@redhat.com
Cc: linux-fbdev@vger.kernel.org, intel-gfx@lists.freedesktop.org,
	linux-hyperv@vger.kernel.org, amd-gfx@lists.freedesktop.org,
	dri-devel@lists.freedesktop.org,
	Thomas Zimmermann <tzimmermann@suse.de>,
	linux-arm-kernel@lists.infradead.org
Subject: [Intel-gfx] [PATCH 03/18] drm/gma500: Do not set struct fb_info.apertures
Date: Mon, 19 Dec 2022 17:05:01 +0100	[thread overview]
Message-ID: <20221219160516.23436-4-tzimmermann@suse.de> (raw)
In-Reply-To: <20221219160516.23436-1-tzimmermann@suse.de>

Generic fbdev drivers use the apertures field in struct fb_info to
control ownership of the framebuffer memory and graphics device. Do
not set the values in gma500.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
 drivers/gpu/drm/gma500/framebuffer.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/gma500/framebuffer.c b/drivers/gpu/drm/gma500/framebuffer.c
index 8d5a37b8f110..9e892a82e109 100644
--- a/drivers/gpu/drm/gma500/framebuffer.c
+++ b/drivers/gpu/drm/gma500/framebuffer.c
@@ -297,11 +297,6 @@ static int psbfb_create(struct drm_fb_helper *fb_helper,
 	info->screen_base = dev_priv->vram_addr + backing->offset;
 	info->screen_size = size;
 
-	if (dev_priv->gtt.stolen_size) {
-		info->apertures->ranges[0].base = dev_priv->fb_base;
-		info->apertures->ranges[0].size = dev_priv->gtt.stolen_size;
-	}
-
 	drm_fb_helper_fill_info(info, fb_helper, sizes);
 
 	info->fix.mmio_start = pci_resource_start(pdev, 0);
-- 
2.39.0


WARNING: multiple messages have this Message-ID (diff)
From: Thomas Zimmermann <tzimmermann@suse.de>
To: daniel@ffwll.ch, airlied@gmail.com, deller@gmx.de, javierm@redhat.com
Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org,
	intel-gfx@lists.freedesktop.org, amd-gfx@lists.freedesktop.org,
	linux-arm-kernel@lists.infradead.org,
	linux-hyperv@vger.kernel.org,
	Thomas Zimmermann <tzimmermann@suse.de>
Subject: [PATCH 03/18] drm/gma500: Do not set struct fb_info.apertures
Date: Mon, 19 Dec 2022 17:05:01 +0100	[thread overview]
Message-ID: <20221219160516.23436-4-tzimmermann@suse.de> (raw)
In-Reply-To: <20221219160516.23436-1-tzimmermann@suse.de>

Generic fbdev drivers use the apertures field in struct fb_info to
control ownership of the framebuffer memory and graphics device. Do
not set the values in gma500.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
 drivers/gpu/drm/gma500/framebuffer.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/gma500/framebuffer.c b/drivers/gpu/drm/gma500/framebuffer.c
index 8d5a37b8f110..9e892a82e109 100644
--- a/drivers/gpu/drm/gma500/framebuffer.c
+++ b/drivers/gpu/drm/gma500/framebuffer.c
@@ -297,11 +297,6 @@ static int psbfb_create(struct drm_fb_helper *fb_helper,
 	info->screen_base = dev_priv->vram_addr + backing->offset;
 	info->screen_size = size;
 
-	if (dev_priv->gtt.stolen_size) {
-		info->apertures->ranges[0].base = dev_priv->fb_base;
-		info->apertures->ranges[0].size = dev_priv->gtt.stolen_size;
-	}
-
 	drm_fb_helper_fill_info(info, fb_helper, sizes);
 
 	info->fix.mmio_start = pci_resource_start(pdev, 0);
-- 
2.39.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2022-12-19 16:05 UTC|newest]

Thread overview: 157+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-19 16:04 [PATCH 00/18] drm,fbdev: Remove apertures structure and FBINFO_MISC_FIRMWARE Thomas Zimmermann
2022-12-19 16:04 ` Thomas Zimmermann
2022-12-19 16:04 ` [Intel-gfx] [PATCH 00/18] drm, fbdev: " Thomas Zimmermann
2022-12-19 16:04 ` Thomas Zimmermann
2022-12-19 16:04 ` [PATCH 01/18] fbcon: Remove trailing whitespaces Thomas Zimmermann
2022-12-19 16:04   ` Thomas Zimmermann
2022-12-19 16:04   ` [Intel-gfx] " Thomas Zimmermann
2022-12-19 16:04   ` Thomas Zimmermann
2022-12-20  9:10   ` Javier Martinez Canillas
2022-12-20  9:10     ` Javier Martinez Canillas
2022-12-20  9:10     ` Javier Martinez Canillas
2022-12-20  9:10     ` [Intel-gfx] " Javier Martinez Canillas
2022-12-19 16:05 ` [PATCH 02/18] Revert "fbcon: don't lose the console font across generic->chip driver switch" Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` [Intel-gfx] " Thomas Zimmermann
2022-12-20  9:17   ` Javier Martinez Canillas
2022-12-20  9:17     ` Javier Martinez Canillas
2022-12-20  9:17     ` Javier Martinez Canillas
2022-12-20  9:17     ` [Intel-gfx] " Javier Martinez Canillas
2022-12-19 16:05 ` Thomas Zimmermann [this message]
2022-12-19 16:05   ` [PATCH 03/18] drm/gma500: Do not set struct fb_info.apertures Thomas Zimmermann
2022-12-19 16:05   ` [Intel-gfx] " Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-20  9:18   ` Javier Martinez Canillas
2022-12-20  9:18     ` Javier Martinez Canillas
2022-12-20  9:18     ` [Intel-gfx] " Javier Martinez Canillas
2022-12-20  9:18     ` Javier Martinez Canillas
2022-12-19 16:05 ` [PATCH 04/18] drm/i915: " Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` [Intel-gfx] " Thomas Zimmermann
2022-12-20  9:19   ` Javier Martinez Canillas
2022-12-20  9:19     ` Javier Martinez Canillas
2022-12-20  9:19     ` Javier Martinez Canillas
2022-12-20  9:19     ` [Intel-gfx] " Javier Martinez Canillas
2022-12-19 16:05 ` [PATCH 05/18] drm/radeon: " Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` [Intel-gfx] " Thomas Zimmermann
2022-12-20  9:19   ` Javier Martinez Canillas
2022-12-20  9:19     ` Javier Martinez Canillas
2022-12-20  9:19     ` Javier Martinez Canillas
2022-12-20  9:19     ` [Intel-gfx] " Javier Martinez Canillas
2022-12-19 16:05 ` [PATCH 06/18] drm/fb-helper: Do not allocate unused apertures structure Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` [Intel-gfx] " Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-20  9:22   ` Javier Martinez Canillas
2022-12-20  9:22     ` Javier Martinez Canillas
2022-12-20  9:22     ` Javier Martinez Canillas
2022-12-20  9:22     ` [Intel-gfx] " Javier Martinez Canillas
2022-12-19 16:05 ` [PATCH 07/18] fbdev/clps711x-fb: Do not set struct fb_info.apertures Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` [Intel-gfx] " Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-20  9:24   ` Javier Martinez Canillas
2022-12-20  9:24     ` Javier Martinez Canillas
2022-12-20  9:24     ` [Intel-gfx] " Javier Martinez Canillas
2022-12-20  9:24     ` Javier Martinez Canillas
2022-12-19 16:05 ` [PATCH 08/18] fbdev/hyperv-fb: " Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` [Intel-gfx] " Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-20  9:24   ` Javier Martinez Canillas
2022-12-20  9:24     ` Javier Martinez Canillas
2022-12-20  9:24     ` Javier Martinez Canillas
2022-12-20  9:24     ` [Intel-gfx] " Javier Martinez Canillas
2022-12-29 15:57   ` Michael Kelley (LINUX)
2022-12-29 15:57     ` [Intel-gfx] " Michael Kelley (LINUX)
2022-12-29 15:57     ` Michael Kelley (LINUX)
2022-12-29 15:57     ` Michael Kelley (LINUX)
2022-12-19 16:05 ` [PATCH 09/18] vfio-mdev/mdpy-fb: " Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` [Intel-gfx] " Thomas Zimmermann
2022-12-20  9:32   ` Javier Martinez Canillas
2022-12-20  9:32     ` Javier Martinez Canillas
2022-12-20  9:32     ` [Intel-gfx] " Javier Martinez Canillas
2022-12-20  9:32     ` Javier Martinez Canillas
2023-01-03 13:54     ` Thomas Zimmermann
2023-01-03 13:54       ` Thomas Zimmermann
2023-01-03 13:54       ` [Intel-gfx] " Thomas Zimmermann
2022-12-19 16:05 ` [PATCH 10/18] fbdev/efifb: Add struct efifb_par for driver data Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` [Intel-gfx] " Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-20  9:33   ` Javier Martinez Canillas
2022-12-20  9:33     ` Javier Martinez Canillas
2022-12-20  9:33     ` Javier Martinez Canillas
2022-12-20  9:33     ` [Intel-gfx] " Javier Martinez Canillas
2022-12-19 16:05 ` [PATCH 11/18] fbdev/efifb: Do not use struct fb_info.apertures Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` [Intel-gfx] " Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-20  9:35   ` Javier Martinez Canillas
2022-12-20  9:35     ` Javier Martinez Canillas
2022-12-20  9:35     ` Javier Martinez Canillas
2022-12-20  9:35     ` [Intel-gfx] " Javier Martinez Canillas
2022-12-19 16:05 ` [PATCH 12/18] fbdev/offb: Allocate struct offb_par with framebuffer_alloc() Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` [Intel-gfx] " Thomas Zimmermann
2022-12-20  9:37   ` Javier Martinez Canillas
2022-12-20  9:37     ` Javier Martinez Canillas
2022-12-20  9:37     ` Javier Martinez Canillas
2022-12-20  9:37     ` [Intel-gfx] " Javier Martinez Canillas
2022-12-19 16:05 ` [PATCH 13/18] fbdev/offb: Do not use struct fb_info.apertures Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` [Intel-gfx] " Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-20  9:38   ` Javier Martinez Canillas
2022-12-20  9:38     ` Javier Martinez Canillas
2022-12-20  9:38     ` Javier Martinez Canillas
2022-12-20  9:38     ` [Intel-gfx] " Javier Martinez Canillas
2022-12-19 16:05 ` [PATCH 14/18] fbdev/simplefb: " Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` [Intel-gfx] " Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-20  9:40   ` Javier Martinez Canillas
2022-12-20  9:40     ` Javier Martinez Canillas
2022-12-20  9:40     ` Javier Martinez Canillas
2022-12-20  9:40     ` [Intel-gfx] " Javier Martinez Canillas
2022-12-19 16:05 ` [PATCH 15/18] fbdev/vesafb: Remove trailing whitespaces Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` [Intel-gfx] " Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-20  9:40   ` Javier Martinez Canillas
2022-12-20  9:40     ` Javier Martinez Canillas
2022-12-20  9:40     ` Javier Martinez Canillas
2022-12-20  9:40     ` [Intel-gfx] " Javier Martinez Canillas
2022-12-19 16:05 ` [PATCH 16/18] fbdev/vesafb: Do not use struct fb_info.apertures Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` [Intel-gfx] " Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-20  9:43   ` Javier Martinez Canillas
2022-12-20  9:43     ` Javier Martinez Canillas
2022-12-20  9:43     ` Javier Martinez Canillas
2022-12-20  9:43     ` [Intel-gfx] " Javier Martinez Canillas
2022-12-19 16:05 ` [PATCH 17/18] fbdev/vga16fb: " Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` [Intel-gfx] " Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-20  9:44   ` Javier Martinez Canillas
2022-12-20  9:44     ` Javier Martinez Canillas
2022-12-20  9:44     ` Javier Martinez Canillas
2022-12-20  9:44     ` [Intel-gfx] " Javier Martinez Canillas
2022-12-19 16:05 ` [PATCH 18/18] drm/fbdev: Remove aperture handling and FBINFO_MISC_FIRMWARE Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-19 16:05   ` [Intel-gfx] " Thomas Zimmermann
2022-12-19 16:05   ` Thomas Zimmermann
2022-12-20  9:46   ` Javier Martinez Canillas
2022-12-20  9:46     ` Javier Martinez Canillas
2022-12-20  9:46     ` Javier Martinez Canillas
2022-12-20  9:46     ` [Intel-gfx] " Javier Martinez Canillas
2022-12-22  8:12 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm, fbdev: Remove apertures structure and FBINFO_MISC_FIRMWARE (rev2) Patchwork
2022-12-22 13:26 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork

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=20221219160516.23436-4-tzimmermann@suse.de \
    --to=tzimmermann@suse.de \
    --cc=airlied@gmail.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=daniel@ffwll.ch \
    --cc=deller@gmx.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=javierm@redhat.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-hyperv@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.