diff options
| author | Chris Wilson <[email protected]> | 2016-12-16 07:46:40 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2016-12-16 15:36:41 +0000 |
| commit | b44f97fd78ce252c543674c46c45e67a1b0c5d90 (patch) | |
| tree | 3fc34c20feb09b4b02841928cd0d9e6609e1562d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm: Constify the drm_mm API (diff) | |
| download | kernel-b44f97fd78ce252c543674c46c45e67a1b0c5d90.tar.gz kernel-b44f97fd78ce252c543674c46c45e67a1b0c5d90.zip | |
drm/i915: Simplify i915_gtt_color_adjust()
If we remember that node_list is a circular list containing the fake
head_node, we can use a simple list_next_entry() and skip the NULL check
for the allocated check against the head_node.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
