sync with OpenBSD -current
This commit is contained in:
parent
18e54d401d
commit
9394581c89
58 changed files with 711 additions and 763 deletions
|
@ -95,7 +95,7 @@ struct dcp_panel {
|
|||
int width_mm;
|
||||
/// panel height in millimeter
|
||||
int height_mm;
|
||||
/// panel has a mini-LED backllight
|
||||
/// panel has a mini-LED backlight
|
||||
bool has_mini_led;
|
||||
};
|
||||
|
||||
|
@ -212,6 +212,8 @@ struct apple_dcp {
|
|||
/* Workqueue for updating the initial initial brightness */
|
||||
struct work_struct bl_register_wq;
|
||||
struct rwlock bl_register_mutex;
|
||||
/* Workqueue for updating the brightness */
|
||||
struct work_struct bl_update_wq;
|
||||
|
||||
/* integrated panel if present */
|
||||
struct dcp_panel panel;
|
||||
|
@ -241,6 +243,7 @@ struct apple_dcp {
|
|||
};
|
||||
|
||||
int dcp_backlight_register(struct apple_dcp *dcp);
|
||||
int dcp_backlight_update(struct apple_dcp *dcp);
|
||||
bool dcp_has_panel(struct apple_dcp *dcp);
|
||||
|
||||
#define DCP_AUDIO_MAX_CHANS 15
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue