Skip to content

Commit cf4fa2f

Browse files
committed
drm: apple: Fix broken MemDescRelay::release_descriptor callback number
Two callbacks for IOMFB::MemDescRelay seems to be dropped between 12.3 and 13.5 DCP firmware. This results in the renumbering of MemDescRelay::release_descriptor from D456 to D454. Noticed while when switching the display refresh rate to 50 Hz with a 14.5 system firmware on a M1 Max Macbook Pro. Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 7ebce2b commit cf4fa2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/apple/iomfb_v13_3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static const iomfb_cb_handler cb_handlers[IOMFB_MAX_CB] = {
8181
[415] = trampoline_true, /* sr_set_property_bool */
8282
[451] = trampoline_allocate_buffer,
8383
[452] = trampoline_map_physical,
84-
[456] = trampoline_release_mem_desc,
84+
[454] = trampoline_release_mem_desc,
8585
[552] = trampoline_true, /* set_property_dict_0 */
8686
[561] = trampoline_true, /* set_property_dict */
8787
[563] = trampoline_true, /* set_property_int */

0 commit comments

Comments
 (0)