linux_dsm_epyc7002/drivers/gpu/drm/bochs
Thomas Zimmermann aba911e6ac drm/bochs: 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.

The current behaviour of cleaning the pointer is kept in the calling code,
but should be removed if not required in a later patch.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: http://patchwork.freedesktop.org/patch/msgid/20180731062851.10812-1-tzimmermann@suse.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2018-08-30 09:41:00 +02:00
..
bochs_drv.c drm/bochs: Use the drm_driver.dumb_destroy default 2017-08-16 20:18:55 +02:00
bochs_fbdev.c drm/<drivers>: Drop fbdev info flags 2017-07-26 13:22:40 +02:00
bochs_hw.c drm/bochs: disable video before changing video mode 2015-04-01 08:28:15 +10:00
bochs_kms.c drm: drop _mode_ from drm_mode_connector_attach_encoder 2018-07-13 18:40:27 +02:00
bochs_mm.c drm/bochs: Replace ttm_bo_unref with ttm_bo_put 2018-08-30 09:41:00 +02:00
bochs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig drm: fix compilations issues introduced by "drm: allow to use mmuless SoC" 2017-01-09 11:30:30 +01:00
Makefile drm/bochs: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:18:23 +02:00