linux_dsm_epyc7002/drivers/gpu/drm/nouveau
Thomas Zimmermann 829eee6290 drm/nouveau: Replace ttm_bo_unref with ttm_bo_put
The function ttm_bo_put releases a reference to a TTM buffer object. The
function's name is more aligned to the Linux kernel convention of naming
ref-counting function _get and _put.

A call to ttm_bo_unref takes the address of the TTM BO object's pointer and
clears the pointer's value to NULL. This is not necessary in most cases and
sometimes even worked around by the calling code. A call to ttm_bo_put only
releases the reference without clearing the pointer.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-01-28 11:43:11 -05:00
..
dispnv04 drm/nouveau/drm/nouveau: Don't forget to label dp_aux devices 2018-12-11 15:37:09 +10:00
dispnv50 drm-misc-next for 5.1: 2019-01-10 05:58:52 +10:00
include drm/nouveau/core: increase maximum number of nvdec instances to 3 2018-12-11 15:37:55 +10:00
nvif drm/nouveau/disp/tu104: initial support 2018-12-11 15:37:54 +10:00
nvkm drm/nouveau/ce/tu106: initial support 2018-12-11 15:38:01 +10:00
Kbuild drm/nouveau/kms/nv50-: move code underneath dispnv50/ 2018-05-18 15:01:26 +10:00
Kconfig drm/nouveau: fix incorrect FB_BACKLIGHT usage in Kconfig 2019-01-02 18:47:37 +01:00
nouveau_abi16.c drm/nouveau/fifo/gk104-: support enabling privileged ce functions 2018-12-11 15:37:47 +10:00
nouveau_abi16.h
nouveau_acpi.c drm/nouveau: fix nouveau_dsm_get_client_id()'s return type 2018-05-18 17:09:46 +10:00
nouveau_acpi.h
nouveau_backlight.c drm/nouveau: Refactor nvXX_backlight_init() 2018-10-11 09:54:10 +10:00
nouveau_bios.c
nouveau_bios.h
nouveau_bo.c drm/nouveau/ce/tu104: initial support 2018-12-11 15:37:55 +10:00
nouveau_bo.h drm/nouveau: Replace ttm_bo_unref with ttm_bo_put 2019-01-28 11:43:11 -05:00
nouveau_chan.c drm/nouveau/fifo/tu104: initial support 2018-12-11 15:37:55 +10:00
nouveau_chan.h drm/nouveau/fifo/gv100: return work submission token in channel ctor args 2018-12-11 15:37:49 +10:00
nouveau_connector.c drm/nouveau/bios: translate USB-C connector type 2018-12-11 15:37:45 +10:00
nouveau_connector.h drm/nouveau/drm/nouveau: Don't forget to label dp_aux devices 2018-12-11 15:37:09 +10:00
nouveau_crtc.h
nouveau_debugfs.c drm/nouveau: Add size to vbios.rom file in debugfs 2018-12-11 15:37:09 +10:00
nouveau_debugfs.h
nouveau_display.c drm/nouveau: Move backlight device into nouveau_connector 2018-10-11 09:54:09 +10:00
nouveau_display.h drm/nouveau: Move backlight device into nouveau_connector 2018-10-11 09:54:09 +10:00
nouveau_dma.c drm/nouveau/fifo/gv100: return work submission token in channel ctor args 2018-12-11 15:37:49 +10:00
nouveau_dma.h drm/nouveau/drm/nv50-: remove allocation of sw class 2018-05-18 15:01:26 +10:00
nouveau_dp.c
nouveau_drm.c drm pull request for 4.21-rc1 2018-12-25 11:48:26 -08:00
nouveau_drv.h drm/ttm: initialize globals during device init (v2) 2018-11-05 14:21:21 -05:00
nouveau_encoder.h drm/nouveau/kms/nv50: handle SetControlOutputResource from head 2018-05-18 15:01:28 +10:00
nouveau_fbcon.c This is the 4.19-rc5 stable release 2018-09-27 11:06:46 +10:00
nouveau_fbcon.h drm/nouveau/drm/nouveau: Fix deadlock with fb_helper with async RPM requests 2018-09-07 06:54:26 +10:00
nouveau_fence.c dma-buf: allow reserving more than one shared fence slot 2018-10-25 13:45:07 +02:00
nouveau_fence.h drm/nouveau/fifo: support channel count query 2018-05-18 15:01:21 +10:00
nouveau_gem.c drm/nouveau: Replace ttm_bo_unref with ttm_bo_put 2019-01-28 11:43:11 -05:00
nouveau_gem.h
nouveau_hwmon.c drm/nouveau/hwmon: potential uninitialized variables 2018-07-16 18:06:29 +10:00
nouveau_hwmon.h
nouveau_ioc32.c
nouveau_ioctl.h
nouveau_led.c
nouveau_led.h
nouveau_mem.c
nouveau_mem.h
nouveau_nvif.c
nouveau_platform.c drm/nouveau: Replace drm_dev_unref with drm_dev_put 2018-07-16 18:06:30 +10:00
nouveau_platform.h
nouveau_prime.c
nouveau_reg.h
nouveau_sgdma.c drm/ttm: add bo as parameter to the ttm_tt_create callback 2018-03-14 14:38:27 -05:00
nouveau_ttm.c drm/ttm: initialize globals during device init (v2) 2018-11-05 14:21:21 -05:00
nouveau_ttm.h drm/ttm: add bo as parameter to the ttm_tt_create callback 2018-03-14 14:38:27 -05:00
nouveau_usif.c
nouveau_usif.h
nouveau_vga.c drm/nouveau: Remove useless poll_disable() call in switcheroo_set_state() 2018-09-07 06:54:26 +10:00
nouveau_vga.h
nouveau_vmm.c drm/nouveau/gem: attach fences to VMAs to track GPU usage 2018-05-18 15:01:26 +10:00
nouveau_vmm.h drm/nouveau: remove left-over struct member 2018-12-11 15:37:49 +10:00
nv04_fbcon.c
nv04_fence.c drm/nouveau/fifo: support channel count query 2018-05-18 15:01:21 +10:00
nv10_fence.c drm/nouveau/fifo: support channel count query 2018-05-18 15:01:21 +10:00
nv10_fence.h
nv17_fence.c drm/nouveau/fifo: support channel count query 2018-05-18 15:01:21 +10:00
nv50_display.h drm/nouveau/kms/nv50-: split each resource type into their own source files 2018-05-18 15:01:28 +10:00
nv50_fbcon.c
nv50_fence.c drm/nouveau/fifo: support channel count query 2018-05-18 15:01:21 +10:00
nv84_fence.c treewide: Use array_size() in vmalloc() 2018-06-12 16:19:22 -07:00
nvc0_fbcon.c
nvc0_fence.c