]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: fix adding foreign BOs to the LRU during init v2
authorChristian König <christian.koenig@amd.com>
Mon, 11 Jan 2016 14:35:18 +0000 (15:35 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Jan 2016 17:18:31 +0000 (12:18 -0500)
commit5a602eebbaca6bb2720c30be66b0c1b1be4e6e1b
tree9a05c37f961a6f0ef83fca1715218d2eb06f0068
parenteae5e36925e32c680aa63012c53b4309f8989dc0
drm/ttm: fix adding foreign BOs to the LRU during init v2

If we import a BO with an external reservation object we don't
reserve/unreserve it. So we never add it to the LRU causing a possible
denial of service.

v2: fix typo in commit message

Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo.c