Skip to content

Commit 924b666

Browse files
jannaumarcan
authored andcommitted
drm/apple: Add callbacks triggered by last_client_close_dcp()
Signed-off-by: Janne Grunau <[email protected]>
1 parent 6d7899f commit 924b666

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

drivers/gpu/drm/apple/iomfb.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,9 +1330,14 @@ bool (*const dcpep_cb_handlers[DCPEP_MAX_CB])(struct apple_dcp *, int, void *,
13301330
[576] = trampoline_hotplug,
13311331
[577] = trampoline_nop, /* powerstate_notify */
13321332
[582] = trampoline_true, /* create_default_fb_surface */
1333+
[584] = trampoline_nop, /* IOMobileFramebufferAP::clear_default_surface */
1334+
[588] = trampoline_nop, /* resize_default_fb_surface_gated */
13331335
[589] = trampoline_swap_complete,
13341336
[591] = trampoline_swap_complete_intent_gated,
13351337
[593] = trampoline_enable_backlight_message_ap_gated,
1338+
[594] = trampoline_nop, /* IOMobileFramebufferAP::setSystemConsoleMode */
1339+
[596] = trampoline_false, /* IOMobileFramebufferAP::isDFBAllocated */
1340+
[597] = trampoline_false, /* IOMobileFramebufferAP::preserveContents */
13361341
[598] = trampoline_nop, /* find_swap_function_gated */
13371342
};
13381343

0 commit comments

Comments
 (0)