mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02:00
drm/i915/debugfs: move PCH type to display caps
Arguably PCH is more relevant to display. Move the information to display caps debugfs. Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com> Link: https://lore.kernel.org/r/a864b7a577ea7a3bd2435e9734e023593edbfd5a.1744295009.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
1a5d935f8e
commit
1954629dc6
|
|
@ -53,8 +53,11 @@ static struct intel_display *node_to_intel_display(struct drm_info_node *node)
|
|||
static int intel_display_caps(struct seq_file *m, void *data)
|
||||
{
|
||||
struct intel_display *display = node_to_intel_display(m->private);
|
||||
struct drm_i915_private *i915 = to_i915(display->drm);
|
||||
struct drm_printer p = drm_seq_file_printer(m);
|
||||
|
||||
drm_printf(&p, "PCH type: %d\n", INTEL_PCH_TYPE(i915));
|
||||
|
||||
intel_display_device_info_print(DISPLAY_INFO(display),
|
||||
DISPLAY_RUNTIME_INFO(display), &p);
|
||||
intel_display_params_dump(&display->params, display->drm->driver->name, &p);
|
||||
|
|
|
|||
|
|
@ -66,8 +66,6 @@ static int i915_capabilities(struct seq_file *m, void *data)
|
|||
struct drm_i915_private *i915 = node_to_i915(m->private);
|
||||
struct drm_printer p = drm_seq_file_printer(m);
|
||||
|
||||
seq_printf(m, "pch: %d\n", INTEL_PCH_TYPE(i915));
|
||||
|
||||
intel_device_info_print(INTEL_INFO(i915), RUNTIME_INFO(i915), &p);
|
||||
i915_print_iommu_status(i915, &p);
|
||||
intel_gt_info_print(&to_gt(i915)->info, &p);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user