/* Initialize the dpst data */ int dpst_init(struct drm_device *dev, int level, int output_id) { g_dev = dev; /* hack for now - the work queue does not have the device */ dpst_save_bl_adj_factor(dev); dpst_save_gamma_settings(dev); return 0; }
/* Initialize the dpst data */ int dpst_init(struct drm_device *dev, int level) { g_dev = dev; /* hack for now - the work queue does not have the device */ dpst_level = level; dpst_save_bl_adj_factor(dev); dpst_save_gamma_settings(dev); dispmgr_start(dev); return 0; }