NetBSD Problem Report #53006
From www@NetBSD.org Sat Feb 10 23:09:43 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 15F977A17C
for <gnats-bugs@gnats.NetBSD.org>; Sat, 10 Feb 2018 23:09:43 +0000 (UTC)
Message-Id: <20180210230942.17F5C7A269@mollari.NetBSD.org>
Date: Sat, 10 Feb 2018 23:09:42 +0000 (UTC)
From: stackfield0trpg@gmail.com
Reply-To: stackfield0trpg@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Please support NVIDIA GT730 to kernel
X-Send-Pr-Version: www-1.0
>Number: 53006
>Category: kern
>Synopsis: Please support NVIDIA GT730 to kernel
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Feb 10 23:10:00 +0000 2018
>Closed-Date: Sun Feb 11 22:00:17 +0000 2018
>Last-Modified: Sun Feb 11 22:00:17 +0000 2018
>Originator: stackfield
>Release: NetBSD-current
>Organization:
>Environment:
NetBSD stackbase 8.99.12 NetBSD 8.99.12 (MYKERNEL-$Revision: 1.1174 $) #10: Wed Feb 7 16:30:42 JST 2018 root@stackbase:/usr/src/sys/arch/i386/compile/MYKERNEL i386
>Description:
Hello, Everyone.
I success that netbsd works on my machine on NVIDIA GT730.
GK208B(0x106) chip on GT730 seems almost the same chip as GK208(0x108) chip on GT640(GT630 etc).
i386/amd64 Kernel, an below patched, well works on a console, native x and modular x.
Thanks for your effort.
Index: nouveau_engine_device_nve0.c
===================================================================
RCS file: /cvsroot/src/sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device/nouveau_engine_device_nve0.c,v
retrieving revision 1.2
diff -r1.2 nouveau_engine_device_nve0.c
215a216,249
> case 0x106:
> device->cname = "GK208B";
> device->oclass[NVDEV_SUBDEV_VBIOS ] = &nouveau_bios_oclass;
> device->oclass[NVDEV_SUBDEV_GPIO ] = &nve0_gpio_oclass;
> device->oclass[NVDEV_SUBDEV_I2C ] = &nvd0_i2c_oclass;
> device->oclass[NVDEV_SUBDEV_CLOCK ] = &nve0_clock_oclass;
> device->oclass[NVDEV_SUBDEV_THERM ] = &nvd0_therm_oclass;
> device->oclass[NVDEV_SUBDEV_MXM ] = &nv50_mxm_oclass;
> device->oclass[NVDEV_SUBDEV_DEVINIT] = nvc0_devinit_oclass;
> device->oclass[NVDEV_SUBDEV_MC ] = nvc3_mc_oclass;
> device->oclass[NVDEV_SUBDEV_BUS ] = nvc0_bus_oclass;
> device->oclass[NVDEV_SUBDEV_TIMER ] = &nv04_timer_oclass;
> device->oclass[NVDEV_SUBDEV_FB ] = nve0_fb_oclass;
> device->oclass[NVDEV_SUBDEV_LTCG ] = gf100_ltcg_oclass;
> device->oclass[NVDEV_SUBDEV_IBUS ] = &nve0_ibus_oclass;
> device->oclass[NVDEV_SUBDEV_INSTMEM] = nv50_instmem_oclass;
> device->oclass[NVDEV_SUBDEV_VM ] = &nvc0_vmmgr_oclass;
> device->oclass[NVDEV_SUBDEV_BAR ] = &nvc0_bar_oclass;
> device->oclass[NVDEV_SUBDEV_PWR ] = &nv108_pwr_oclass;
> device->oclass[NVDEV_SUBDEV_VOLT ] = &nv40_volt_oclass;
> device->oclass[NVDEV_ENGINE_DMAOBJ ] = &nvd0_dmaeng_oclass;
> device->oclass[NVDEV_ENGINE_FIFO ] = nv108_fifo_oclass;
> device->oclass[NVDEV_ENGINE_SW ] = nvc0_software_oclass;
> device->oclass[NVDEV_ENGINE_GR ] = nv108_graph_oclass;
> device->oclass[NVDEV_ENGINE_DISP ] = nvf0_disp_oclass;
> device->oclass[NVDEV_ENGINE_COPY0 ] = &nve0_copy0_oclass;
> device->oclass[NVDEV_ENGINE_COPY1 ] = &nve0_copy1_oclass;
> device->oclass[NVDEV_ENGINE_COPY2 ] = &nve0_copy2_oclass;
> #if 0
> device->oclass[NVDEV_ENGINE_BSP ] = &nve0_bsp_oclass;
> device->oclass[NVDEV_ENGINE_VP ] = &nve0_vp_oclass;
> device->oclass[NVDEV_ENGINE_PPP ] = &nvc0_ppp_oclass;
> #endif
> break;
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/53006 CVS commit: src/sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device
Date: Sun, 11 Feb 2018 10:52:59 -0500
Module Name: src
Committed By: christos
Date: Sun Feb 11 15:52:59 UTC 2018
Modified Files:
src/sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device:
nouveau_engine_device_nve0.c
Log Message:
PR/53006: stackfield: Please support NVIDIA GT730 to kernel
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device/nouveau_engine_device_nve0.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->pending-pullups
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sun, 11 Feb 2018 16:39:16 +0000
State-Changed-Why:
Thanks for the patch ! I requested pullup-8 #541. I am not sure if it'll work in -7 as is because there is another absnet change ("Backport GK20A support from linux-3.16").
From: "Soren Jacobsen" <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/53006 CVS commit: [netbsd-8] src/sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device
Date: Sun, 11 Feb 2018 21:48:41 +0000
Module Name: src
Committed By: snj
Date: Sun Feb 11 21:48:41 UTC 2018
Modified Files:
src/sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device [netbsd-8]:
nouveau_engine_device_nve0.c
Log Message:
Pull up following revision(s) (requested by maya in ticket #541):
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device/nouveau_engine_device_nve0.c: 1.3
PR/53006: stackfield: Please support NVIDIA GT730 to kernel
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.10.1 \
src/sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device/nouveau_engine_device_nve0.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: pending-pullups->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sun, 11 Feb 2018 22:00:17 +0000
State-Changed-Why:
Pulled up to -8. If you want it in -7 too let me know and we can make a patch. thanks for the patch!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.