Skip to content

Commit

Permalink
drm/i915/pci: conversion to drm_device based logging macros.
Browse files Browse the repository at this point in the history
Manual conversion of instances of printk based drm logging macros to the
struct drm_device based logging macros in i915/i915_pci.c.

Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200131093416.28431-6-wambui.karugax@gmail.com
  • Loading branch information
Wambui Karuga authored and Jani Nikula committed Feb 4, 2020
1 parent 0c4336b commit 7daac72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/i915/i915_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,8 @@ static int i915_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)

if (intel_info->require_force_probe &&
!force_probe(pdev->device, i915_modparams.force_probe)) {
DRM_INFO("Your graphics device %04x is not properly supported by the driver in this\n"
drm_info(&pdev_to_i915(pdev)->drm,
"Your graphics device %04x is not properly supported by the driver in this\n"
"kernel version. To force driver probe anyway, use i915.force_probe=%04x\n"
"module parameter or CONFIG_DRM_I915_FORCE_PROBE=%04x configuration option,\n"
"or (recommended) check for kernel updates.\n",
Expand Down

0 comments on commit 7daac72

Please sign in to comment.