diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2018-11-30 15:20:48 -0800 |
---|---|---|
committer | José Roberto de Souza <jose.souza@intel.com> | 2018-12-03 14:55:41 -0800 |
commit | d53db442db36fdba1a6584bd5cf49124ba17d6e9 (patch) | |
tree | 7eabedbbcf8e66ffd84b08fcc2eb1efe31f1e269 /drivers/gpu/drm/i915/intel_device_info.c | |
parent | e1bf094b3c7514934168dcb69f18b65aacb5a953 (diff) | |
download | linux-d53db442db36fdba1a6584bd5cf49124ba17d6e9.tar.gz linux-d53db442db36fdba1a6584bd5cf49124ba17d6e9.tar.bz2 linux-d53db442db36fdba1a6584bd5cf49124ba17d6e9.zip |
drm/i915: Move display device info capabilities to its own struct
This helps separate what capabilities are display capabilities.
v3: Moving display struct right after flags (Lucas)
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Suggested-by: Jani Nikula <jani.nikula@linux.intel.com>
Suggested-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181130232048.14216-2-jose.souza@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_device_info.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_device_info.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_device_info.c b/drivers/gpu/drm/i915/intel_device_info.c index 677002a9e893..1e56319334f3 100644 --- a/drivers/gpu/drm/i915/intel_device_info.c +++ b/drivers/gpu/drm/i915/intel_device_info.c @@ -77,6 +77,10 @@ void intel_device_info_dump_flags(const struct intel_device_info *info, #define PRINT_FLAG(name) drm_printf(p, "%s: %s\n", #name, yesno(info->name)); DEV_INFO_FOR_EACH_FLAG(PRINT_FLAG); #undef PRINT_FLAG + +#define PRINT_FLAG(name) drm_printf(p, "%s: %s\n", #name, yesno(info->display.name)); + DEV_INFO_DISPLAY_FOR_EACH_FLAG(PRINT_FLAG); +#undef PRINT_FLAG } static void sseu_dump(const struct sseu_dev_info *sseu, struct drm_printer *p) |