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 50AD6C54F51 for ; Wed, 29 Jul 2026 10:42:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AB20810EBAF; Wed, 29 Jul 2026 10:42:10 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="tksnIlCC"; dkim-atps=neutral Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8F05910EBA7 for ; Wed, 29 Jul 2026 10:42:09 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 29C3A418CF; Wed, 29 Jul 2026 10:42:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 856A21F000E9; Wed, 29 Jul 2026 10:42:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1785321729; bh=wT2iD0ur4zwg198XnpoFcYdpK685JgDvnwv0Tdn3hyg=; h=Subject:To:Cc:From:Date; b=tksnIlCCElLrnA/FS/DO4H0CwoDetPNxUMllceYhgNe21CCnkZh3tPshh53n9hF+z uRpwtvC/KAIoToKeZ9ODJxxf+1NmobQsRFyepx9K8FQQT7g4G6FLjGaoBYCBXwESzI KKR7dC9HI5qsaiqvg0hSVtyPf8mkI7QrHLpwtYzs= Subject: Patch "drm/tegra: fbdev: Remove offset into framebuffer memory" has been added to the 7.1-stable tree To: dri-devel@lists.freedesktop.org, gregkh@linuxfoundation.org, treding@nvidia.com, tzimmermann@suse.de Cc: From: Date: Wed, 29 Jul 2026 12:40:00 +0200 Message-ID: <2026072959-plaything-evasive-0dd7@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit X-stable: commit X-Patchwork-Hint: ignore 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" This is a note to let you know that I've just added the patch titled drm/tegra: fbdev: Remove offset into framebuffer memory to the 7.1-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: drm-tegra-fbdev-remove-offset-into-framebuffer-memory.patch and it can be found in the queue-7.1 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >From a18b6e30ecd69096beda4a0c96d2570900c3879a Mon Sep 17 00:00:00 2001 From: Thomas Zimmermann Date: Tue, 21 Apr 2026 09:29:06 +0200 Subject: drm/tegra: fbdev: Remove offset into framebuffer memory From: Thomas Zimmermann commit a18b6e30ecd69096beda4a0c96d2570900c3879a upstream. The screen_buffer field in struct fb_info contains the kernel address of the first byte of framebuffer memory. Do not add the display offset. This offset only describes scrolling during scanout. Signed-off-by: Thomas Zimmermann Fixes: de2ba664c30f ("gpu: host1x: drm: Add memory manager and fb") Cc: dri-devel@lists.freedesktop.org Cc: linux-tegra@vger.kernel.org Cc: # v3.10+ Signed-off-by: Thierry Reding Link: https://patch.msgid.link/20260421073646.144712-3-tzimmermann@suse.de Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/tegra/fbdev.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) --- a/drivers/gpu/drm/tegra/fbdev.c +++ b/drivers/gpu/drm/tegra/fbdev.c @@ -76,7 +76,6 @@ int tegra_fbdev_driver_fbdev_probe(struc struct fb_info *info = helper->info; unsigned int bytes_per_pixel; struct drm_framebuffer *fb; - unsigned long offset; struct tegra_bo *bo; size_t size; int err; @@ -115,9 +114,6 @@ int tegra_fbdev_driver_fbdev_probe(struc drm_fb_helper_fill_info(info, helper, sizes); - offset = info->var.xoffset * bytes_per_pixel + - info->var.yoffset * fb->pitches[0]; - if (bo->pages) { bo->vaddr = vmap(bo->pages, bo->num_pages, VM_MAP, pgprot_writecombine(PAGE_KERNEL)); @@ -129,9 +125,9 @@ int tegra_fbdev_driver_fbdev_probe(struc } info->flags |= FBINFO_VIRTFB; - info->screen_buffer = bo->vaddr + offset; + info->screen_buffer = bo->vaddr; info->screen_size = size; - info->fix.smem_start = (unsigned long)(bo->iova + offset); + info->fix.smem_start = (unsigned long)(bo->iova); info->fix.smem_len = size; return 0; Patches currently in stable-queue which might be from tzimmermann@suse.de are queue-7.1/drm-tests-shmem-set-dma-mask-to-64-bit-in-drm_gem_sh.patch queue-7.1/drm-exynos-fbdev-remove-offset-into-screen_buffer.patch queue-7.1/drm-tegra-fbdev-remove-offset-into-framebuffer-memory.patch