67 .get_brightness = nv40_get_intensity,
68 .update_status = nv40_set_intensity,
84 props.max_brightness = 31;
86 &nv40_bl_ops, &
props);
88 bd->
props.brightness = nv40_get_intensity(bd);
89 backlight_update_status(bd);
100 int or = nv_encoder->
or;
106 return ((val * 100) + (div / 2)) /
div;
115 int or = nv_encoder->
or;
126 .get_brightness = nv50_get_intensity,
127 .update_status = nv50_set_intensity,
136 int or = nv_encoder->
or;
142 if (div && div >= val)
143 return ((val * 100) + (div / 2)) /
div;
154 int or = nv_encoder->
or;
158 val = (bd->
props.brightness *
div) / 100;
171 .get_brightness = nva3_get_intensity,
172 .update_status = nva3_set_intensity,
204 props.max_brightness = 100;
206 nv_encoder, ops, &props);
211 bd->
props.brightness = bd->
ops->get_brightness(bd);
212 backlight_update_status(bd);
225 NV_INFO(drm,
"ACPI backlight interface available, "
226 "not registering our own\n");
238 return nv40_backlight_init(connector);
240 return nv50_backlight_init(connector);