summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_debugfs.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2020-01-23 15:48:00 +0300
committerJani Nikula <jani.nikula@intel.com>2020-01-25 16:49:01 +0300
commit12a1d4e093acf2baf85f5d25b3c56b1d36bb920d (patch)
tree6334c3dfa3deb7cceadda137c5befaae31fed98b /drivers/gpu/drm/drm_debugfs.c
parentc6cccafa9191f087154f44b94987076617244227 (diff)
downloadlinux-12a1d4e093acf2baf85f5d25b3c56b1d36bb920d.tar.xz
drm: add drm_core_check_all_features() to check for a mask of features
Add new drm_core_check_all_features() function to check for a mask of features. All features in the mask are required. Redefine existing drm_core_check_feature() in terms of this function, using the drm_driver_feature enum for the parameter. v3: - add drm_core_check_all_features() (Thomas) v2: - fix kernel-doc (Ville) - add an extra variable for clarity (Ville) Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200123124801.14958-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/drm_debugfs.c')
0 files changed, 0 insertions, 0 deletions