NetBSD-Bugs archive

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

PR/51076 CVS commit: [netbsd-7] src/sys/external/bsd/drm2

The following reply was made to PR kern/51076; it has been noted by GNATS.

From: "SAITOH Masanobu" <>
Subject: PR/51076 CVS commit: [netbsd-7] src/sys/external/bsd/drm2
Date: Mon, 12 Dec 2016 09:13:43 +0000

 Module Name:	src
 Committed By:	msaitoh
 Date:		Mon Dec 12 09:13:43 UTC 2016
 Modified Files:
 	src/sys/external/bsd/drm2/dist/drm/i915 [netbsd-7]: i915_gpu_error.c
 	src/sys/external/bsd/drm2/dist/drm/nouveau [netbsd-7]: nouveau_bo.c
 	    nouveau_connector.c nouveau_dp.c nouveau_gem.c
 	src/sys/external/bsd/drm2/dist/drm/nouveau/core/core [netbsd-7]:
 	src/sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device [netbsd-7]:
 	src/sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp [netbsd-7]:
 	src/sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo [netbsd-7]:
 	    nouveau_engine_fifo_base.c nouveau_engine_fifo_nv40.c
 	src/sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit [netbsd-7]:
 	src/sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mxm [netbsd-7]:
 	    nouveau_subdev_mxm_mxms.c nouveau_subdev_mxm_nv50.c
 	src/sys/external/bsd/drm2/dist/drm/radeon [netbsd-7]: radeon_ttm.c
 	src/sys/external/bsd/drm2/dist/drm/ttm [netbsd-7]: ttm_tt.c
 	src/sys/external/bsd/drm2/dist/include/drm/ttm [netbsd-7]:
 	src/sys/external/bsd/drm2/drm [netbsd-7]: drm_vma_manager.c
 	src/sys/external/bsd/drm2/include/drm [netbsd-7]: drm_wait_netbsd.h
 	src/sys/external/bsd/drm2/include/drm/ttm [netbsd-7]: ttm_page_alloc.h
 	src/sys/external/bsd/drm2/nouveau [netbsd-7]: nouveau_pci.c
 	src/sys/external/bsd/drm2/ttm [netbsd-7]: ttm_bus_dma.c
 Log Message:
 Pull up following revision(s) (requested by snj in ticket #1280):
 	sys/external/bsd/drm2/ttm/ttm_bus_dma.c: revision 1.2
 	sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h: revision 1.14
 	sys/external/bsd/drm2/dist/drm/nouveau/nouveau_dp.c: revision 1.2
 	sys/external/bsd/drm2/dist/drm/ttm/ttm_tt.c: revision 1.7
 	sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device/nouveau_engine_device_base.c: revision 1.11
 	sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo/nouveau_engine_fifo_nv40.c: revision 1.2
 	sys/external/bsd/drm2/dist/include/drm/ttm/ttm_bo_driver.h: revision 1.3
 	sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c: revision 1.8
 	sys/external/bsd/drm2/dist/drm/nouveau/nouveau_connector.c: revision 1.3
 	sys/external/bsd/drm2/dist/drm/nouveau/nouveau_gem.c: revision 1.4
 	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit/nouveau_subdev_devinit_nv04.c: revision 1.3
 	sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bo.c: revision 1.7
 	sys/external/bsd/drm2/dist/drm/nouveau/core/core/nouveau_core_object.c: revision 1.3
 	sys/external/bsd/drm2/dist/drm/i915/i915_gpu_error.c: revision 1.4
 	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mxm/nouveau_subdev_mxm_mxms.c: revision 1.2
 	sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mxm/nouveau_subdev_mxm_nv50.c: revision 1.3
 	sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/nouveau_engine_disp_nvd0.c: revision 1.3
 	sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo/nouveau_engine_fifo_base.c: revision 1.5
 	sys/external/bsd/drm2/include/drm/ttm/ttm_page_alloc.h: revision 1.2
 	sys/external/bsd/drm2/drm/drm_vma_manager.c: revision 1.4
 	sys/external/bsd/drm2/nouveau/nouveau_pci.c: revision 1.8
 - fix non-debug build
 - Use %"PRIx8", not %hx, for uint8_t.  %hx is for unsigned short.
 - Flush unused function. Found by joerg.
 - Make sure rbtrees are empty on desctruction.
   If related to PR kern/51076, might help catch the bug a bit earlier.
 - revert rev 1.6.  we don't have access to those files as normal files
   and possible will get them directly elsewhere soon.
   (if i hack my nouveau to ignore fireware failure, it end up having
   a vaguely working console and slowly working X, which is better than
   the current situation.)
 - Avoid possible null pointer dereference. Found by Coverity, CID 709895.
 - Mark fallthrough to suppress Coverity complaints.
   CID 143119
   CID 143120
   CID 143121
   CID 143122
   CID 143123
   CID 143124
 - Sanity-check that the encoder we found is not null.
   I think the previous code guarantees that finding this encoder should
   work, so this should be a moot point. CID 145720.
 - Mark intended fallthrough to suppress Coverity CID 201378.
 - Mark fallthrough with a comment to appease Coverity, CID 703385.
 - Make it clearer to Coverity that there's no array overrun. CID 989067.
 - Rework ttm tt swapin/swapout logic.
   Rather than handling `swapping in/out' here, per se, we let uvm do
   that, we interpret `swap out' as `deactivate pages', and we add
   generic ttm operations to wire and unwire pages, for the ttm_tt
   driver to use.
   This fixes certain graphics buffer eviction logic, which enables
   nouveau to suspend/resume on one of my machines.  (The machine
   doesn't resume overall for other reasons, but the nouveau device
   suspends and resumes in isolation.)
 - Use bus_space_subregion to get fifo channels out of mmio registers.
   Evidently it is not enough to just map them separately.  Ran out of
   time to investigate why, last time I poked at this and confirmed this
   change works.
 - Avoid taking locks during interrupts and explain why we are doing it this way.
 - We now use cpu_intr_p() all the time.
 To generate a diff of this commit:
 cvs rdiff -u -r1.3 -r1.3.4.1 \
 cvs rdiff -u -r1.4.4.2 -r1.4.4.3 \
 cvs rdiff -u -r1.2 -r1.2.4.1 \
 cvs rdiff -u -r1.1.1.2 -r1. \
 cvs rdiff -u -r1.2.4.1 -r1.2.4.2 \
 cvs rdiff -u -r1.2 -r1.2.4.1 \
 cvs rdiff -u -r1.2.4.4 -r1.2.4.5 \
 cvs rdiff -u -r1. -r1. \
 cvs rdiff -u -r1.2.4.2 -r1.2.4.3 \
 cvs rdiff -u -r1.1.1.1 -r1. \
 cvs rdiff -u -r1. -r1. \
 cvs rdiff -u -r1.1.1.1 -r1. \
 cvs rdiff -u -r1. -r1. \
 cvs rdiff -u -r1.5.4.2 -r1.5.4.3 \
 cvs rdiff -u -r1.6 -r1.6.2.1 src/sys/external/bsd/drm2/dist/drm/ttm/ttm_tt.c
 cvs rdiff -u -r1.2 -r1.2.2.1 \
 cvs rdiff -u -r1.1.4.3 -r1.1.4.4 \
 cvs rdiff -u -r1.4.2.4 -r1.4.2.5 \
 cvs rdiff -u -r1.1 -r1.1.4.1 \
 cvs rdiff -u -r1.3.2.6 -r1.3.2.7 \
 cvs rdiff -u -r1.1 -r1.1.4.1 src/sys/external/bsd/drm2/ttm/ttm_bus_dma.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index