Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion drivers/gpu/drm/apple/apple_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,14 @@ static const struct drm_mode_config_funcs apple_mode_config_funcs = {
.atomic_state_free = apple_atomic_state_free,
.atomic_check = apple_atomic_check,
.atomic_commit = apple_atomic_commit,
.fb_create = drm_gem_fb_create,
/*
* DCP shows only what a swap gives it, and the firmware may keep
* presenting a cached copy of a frame that has stopped flipping (the
* M4 idle cache does). A client that draws into the scanout buffer
* without a flip (fbcon, a DIRTYFB caller) has its damage turned into
* a commit by the dirty hook, so the drawing reaches the display.
*/
.fb_create = drm_gem_fb_create_with_dirty,
};

static void apple_atomic_commit_tail(struct drm_atomic_commit *state)
Expand Down
Loading