From: Ben Skeggs Date: Thu, 9 Jun 2011 07:34:02 +0000 (+1000) Subject: drm/nvc0/pm: enable voltage_get X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3c71c2330b56ca4304b6cd0273ba861657a60a53;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git drm/nvc0/pm: enable voltage_get I don't have a terribly good reason for not enabling voltage_set too, but, lets wait and see. Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c index 10656e430b44..48bddd5b3503 100644 --- a/drivers/gpu/drm/nouveau/nouveau_state.c +++ b/drivers/gpu/drm/nouveau/nouveau_state.c @@ -422,6 +422,7 @@ static int nouveau_init_engine_ptrs(struct drm_device *dev) engine->vram.put = nv50_vram_del; engine->vram.flags_valid = nvc0_vram_flags_valid; engine->pm.temp_get = nv84_temp_get; + engine->pm.voltage_get = nouveau_voltage_gpio_get; break; default: NV_ERROR(dev, "NV%02x unsupported\n", dev_priv->chipset);