diff options
author | Dhinakaran Pandiyan <[email protected]> | 2016-12-22 00:50:42 -0800 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2016-12-27 10:44:00 +0100 |
commit | a743d7582db9aba0e7078d6386bdad2756309dba (patch) | |
tree | f142599c73b31d08257ee07294b4fbcf30df54e9 /include/linux | |
parent | f79f26921ee12c6fc14d0df61b1eb27a5070b959 (diff) |
drm: Wrap the check for atomic_commit implementation
This check is useful for drivers that do not have DRIVER_ATOMIC set but
have atomic modesetting internally implemented. Wrap the check into a
function since this is used in many places and as a bonus, the function
name helps to document what the check is for.
v2:
Change return type to bool (Ville)
Move the function drm_atomic.h (Daniel)
Fixed comment marker for documentation
Suggested-by: Daniel Vetter <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Ben Skeggs <[email protected]>
Signed-off-by: Dhinakaran Pandiyan <[email protected]>
[danvet: Move back to drmP.h because include hell.]
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions