diff options
author | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2014-01-09 14:03:08 +0400 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2014-09-01 12:18:03 +0400 |
commit | 1f0dc9a59afeccb96a35ebec36661266260f5eee (patch) | |
tree | 24f8dfbf51ce943412a60dd82f738a333ab905f4 /drivers/gpu/drm/qxl/qxl_release.c | |
parent | 58b4d720c1620bbf09e42b4f218dcb2d0d8cdf3e (diff) | |
download | linux-1f0dc9a59afeccb96a35ebec36661266260f5eee.tar.xz |
drm/ttm: kill off some members to ttm_validate_buffer
This reorders the list to keep track of what buffers are reserved,
so previous members are always unreserved.
This gets rid of some bookkeeping that's no longer needed,
while simplifying the code some.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_release.c')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_release.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_release.c b/drivers/gpu/drm/qxl/qxl_release.c index 656f9d3a946d..4045ba873ab8 100644 --- a/drivers/gpu/drm/qxl/qxl_release.c +++ b/drivers/gpu/drm/qxl/qxl_release.c @@ -349,7 +349,6 @@ void qxl_release_fence_buffer_objects(struct qxl_release *release) ttm_bo_add_to_lru(bo); __ttm_bo_unreserve(bo); - entry->reserved = false; } spin_unlock(&glob->lru_lock); ww_acquire_fini(&release->ticket); |