mirror of https://gitee.com/openkylin/linux.git
drm/nouveau: name the boot perflvl "boot"
Signed-off-by: Martin Peres <martin.peres@ensi-bourges.fr> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
0eacdba3a1
commit
01e542c65d
|
@ -490,6 +490,7 @@ nouveau_pm_init(struct drm_device *dev)
|
|||
/* determine current ("boot") performance level */
|
||||
ret = nouveau_pm_perflvl_get(dev, &pm->boot);
|
||||
if (ret == 0) {
|
||||
strncpy(pm->boot.name, "boot", 4);
|
||||
pm->cur = &pm->boot;
|
||||
|
||||
nouveau_pm_perflvl_info(&pm->boot, info, sizeof(info));
|
||||
|
|
Loading…
Reference in New Issue