|
@@ -326,7 +326,7 @@ static bool nouveau_dsm_detect(void)
|
|
nouveau_dsm_priv.dhandle = dhandle;
|
|
nouveau_dsm_priv.dhandle = dhandle;
|
|
acpi_get_name(nouveau_dsm_priv.dhandle, ACPI_FULL_PATHNAME,
|
|
acpi_get_name(nouveau_dsm_priv.dhandle, ACPI_FULL_PATHNAME,
|
|
&buffer);
|
|
&buffer);
|
|
- printk(KERN_INFO "VGA switcheroo: detected Optimus DSM method %s handle\n",
|
|
|
|
|
|
+ pr_info("VGA switcheroo: detected Optimus DSM method %s handle\n",
|
|
acpi_method_name);
|
|
acpi_method_name);
|
|
if (has_power_resources)
|
|
if (has_power_resources)
|
|
pr_info("nouveau: detected PR support, will not use DSM\n");
|
|
pr_info("nouveau: detected PR support, will not use DSM\n");
|
|
@@ -338,7 +338,7 @@ static bool nouveau_dsm_detect(void)
|
|
nouveau_dsm_priv.dhandle = dhandle;
|
|
nouveau_dsm_priv.dhandle = dhandle;
|
|
acpi_get_name(nouveau_dsm_priv.dhandle, ACPI_FULL_PATHNAME,
|
|
acpi_get_name(nouveau_dsm_priv.dhandle, ACPI_FULL_PATHNAME,
|
|
&buffer);
|
|
&buffer);
|
|
- printk(KERN_INFO "VGA switcheroo: detected DSM switching method %s handle\n",
|
|
|
|
|
|
+ pr_info("VGA switcheroo: detected DSM switching method %s handle\n",
|
|
acpi_method_name);
|
|
acpi_method_name);
|
|
nouveau_dsm_priv.dsm_detected = true;
|
|
nouveau_dsm_priv.dsm_detected = true;
|
|
ret = true;
|
|
ret = true;
|
|
@@ -406,7 +406,8 @@ static int nouveau_rom_call(acpi_handle rom_handle, uint8_t *bios,
|
|
|
|
|
|
status = acpi_evaluate_object(rom_handle, NULL, &rom_arg, &buffer);
|
|
status = acpi_evaluate_object(rom_handle, NULL, &rom_arg, &buffer);
|
|
if (ACPI_FAILURE(status)) {
|
|
if (ACPI_FAILURE(status)) {
|
|
- printk(KERN_INFO "failed to evaluate ROM got %s\n", acpi_format_exception(status));
|
|
|
|
|
|
+ pr_info("failed to evaluate ROM got %s\n",
|
|
|
|
+ acpi_format_exception(status));
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
}
|
|
}
|
|
obj = (union acpi_object *)buffer.pointer;
|
|
obj = (union acpi_object *)buffer.pointer;
|