Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/amdgpu amdgpu: Disable atomic modeset ...



details:   https://anonhg.NetBSD.org/src/rev/a25918e355dc
branches:  trunk
changeset: 1028928:a25918e355dc
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 12:30:14 2021 +0000

description:
amdgpu: Disable atomic modeset like upstream does for now.

diffstat:

 sys/external/bsd/drm2/amdgpu/amdgpu_module.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e06e3abdbb6e -r a25918e355dc sys/external/bsd/drm2/amdgpu/amdgpu_module.c
--- a/sys/external/bsd/drm2/amdgpu/amdgpu_module.c      Sun Dec 19 12:30:04 2021 +0000
+++ b/sys/external/bsd/drm2/amdgpu/amdgpu_module.c      Sun Dec 19 12:30:14 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: amdgpu_module.c,v 1.7 2021/12/19 12:02:38 riastradh Exp $      */
+/*     $NetBSD: amdgpu_module.c,v 1.8 2021/12/19 12:30:14 riastradh Exp $      */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdgpu_module.c,v 1.7 2021/12/19 12:02:38 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amdgpu_module.c,v 1.8 2021/12/19 12:30:14 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/module.h>
@@ -75,7 +75,7 @@
                return error;
 
        amdgpu_drm_driver->num_ioctls = amdgpu_max_kms_ioctl;
-       amdgpu_drm_driver->driver_features |= DRIVER_MODESET;
+       amdgpu_drm_driver->driver_features &= ~DRIVER_ATOMIC;
 
        linux_mutex_init(&mgpu_info.mutex);
        ida_init(&amdgpu_pasid_ida);



Home | Main Index | Thread Index | Old Index