]> Git Repo - linux.git/blobdiff - drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
gpu: drm: amd/radeon: Convert printk(KERN_<LEVEL> to pr_<level>
[linux.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_device.c
index cc01b3f27a1fed5b5ef9555c8a0416c48d2dd8ab..e71a89c73684dabee44efa8c2c1586db2c952d6d 100644 (file)
@@ -1059,7 +1059,7 @@ static void amdgpu_switcheroo_set_state(struct pci_dev *pdev, enum vga_switchero
        if (state == VGA_SWITCHEROO_ON) {
                unsigned d3_delay = dev->pdev->d3_delay;
 
-               printk(KERN_INFO "amdgpu: switched on\n");
+               pr_info("amdgpu: switched on\n");
                /* don't suspend or resume card normally */
                dev->switch_power_state = DRM_SWITCH_POWER_CHANGING;
 
@@ -1070,7 +1070,7 @@ static void amdgpu_switcheroo_set_state(struct pci_dev *pdev, enum vga_switchero
                dev->switch_power_state = DRM_SWITCH_POWER_ON;
                drm_kms_helper_poll_enable(dev);
        } else {
-               printk(KERN_INFO "amdgpu: switched off\n");
+               pr_info("amdgpu: switched off\n");
                drm_kms_helper_poll_disable(dev);
                dev->switch_power_state = DRM_SWITCH_POWER_CHANGING;
                amdgpu_device_suspend(dev, true, true);
This page took 0.035968 seconds and 4 git commands to generate.