drivers a chance to notice the update of the Backlight connector property
when we change it behind its back.
ok jsg@
} else if (property == connector->backlight_property) {
connector->backlight_device->props.brightness = value;
backlight_schedule_update_status(connector->backlight_device);
+ KNOTE(&connector->dev->note, NOTE_CHANGE);
ret = 0;
#endif
} else if (connector->funcs->set_property)
struct drm_connector *connector = obj_to_connector(obj);
connector->backlight_device->props.brightness = prop_value;
backlight_schedule_update_status(connector->backlight_device);
+ KNOTE(&connector->dev->note, NOTE_CHANGE);
ret = 0;
#endif
} else {
case WSDISPLAYIO_PARAM_BRIGHTNESS:
bd->props.brightness = dp->curval;
backlight_update_status(bd);
+ KNOTE(&dev_priv->drm.note, NOTE_CHANGE);
return 0;
}
break;