diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-04-23 16:37:17 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-04-23 17:44:21 +0200 |
commit | 79fc46dfd0c7cc68442554a428e03a3b7e0d44aa (patch) | |
tree | 802a3126d2e0c204d1e6cfdc720e78f6ee556731 /drivers/gpu/drm/i915/intel_pm.c | |
parent | 321a1b3026ea194dd084cf3bda1e235b2986b0af (diff) |
drm/i915: Turn DEV_INFO_FLAGS into a foreach style macro
DEV_INFO_FOR_FLAG() now takes 2 parameters:
• A function to apply to the flag
• A separator
This will allow us to use the macro twice in the DRM_DEBUG_DRIVER() call
of i915_dump_device_info().
v2: Fix a typo in the subject (Jani Nikula)
v3: Undef the helper macros (Jani Nikula, Daniel vetter)
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
0 files changed, 0 insertions, 0 deletions