diff options
| author | Chris Wilson <[email protected]> | 2018-06-05 10:41:07 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2018-06-05 15:16:07 +0100 |
| commit | 83d317adfb4b27ec589b59548cf52e3b63a39fc9 (patch) | |
| tree | 5ff266b086d8f1c7dea845f1532511c53ac8e98a /include/linux/fpga/fpga-mgr.h | |
| parent | 744799850ef1cb053457a8a7652165e895ea26a0 (diff) | |
drm/i915/vma: Move the bind_count vs pin_count assertion to a helper
To spare ourselves a long line later, refactor the repeated check of
bind_count vs pin_count to a helper.
v2: Fix up the commentary!
Suggested-by: Joonas Lahtinen <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions