Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/rockchip Remove dirty fb IOCTL callback introdu...



details:   https://anonhg.NetBSD.org/src/rev/50a788e0d2d7
branches:  trunk
changeset: 372205:50a788e0d2d7
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Oct 30 23:10:43 2022 +0000

description:
Remove dirty fb IOCTL callback introduced in latest drm update.

Not sure how this got here, but the rkdrm driver does not need to do
damage tracking as it uses Normal-NC (uncached) mappings.

PR# port-arm/56596

diffstat:

 sys/arch/arm/rockchip/rk_drm.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 11b3166da91e -r 50a788e0d2d7 sys/arch/arm/rockchip/rk_drm.c
--- a/sys/arch/arm/rockchip/rk_drm.c    Sun Oct 30 19:11:31 2022 +0000
+++ b/sys/arch/arm/rockchip/rk_drm.c    Sun Oct 30 23:10:43 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rk_drm.c,v 1.20 2022/09/25 07:50:15 riastradh Exp $ */
+/* $NetBSD: rk_drm.c,v 1.21 2022/10/30 23:10:43 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2019 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rk_drm.c,v 1.20 2022/09/25 07:50:15 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rk_drm.c,v 1.21 2022/10/30 23:10:43 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -255,7 +255,6 @@
 static const struct drm_framebuffer_funcs rk_drm_framebuffer_funcs = {
        .create_handle = rk_drm_fb_create_handle,
        .destroy = rk_drm_fb_destroy,
-       .dirty = drm_atomic_helper_dirtyfb,
 };
 
 static struct drm_framebuffer *



Home | Main Index | Thread Index | Old Index