Skip to content

Commit

Permalink
drm/vc4: Don't wait for vblank on fkms cursor updates.
Browse files Browse the repository at this point in the history
We don't use the same async update path between fkms and normal kms,
and the normal kms workaround ended up making us wait.  This became a
larger problem in rpi-4.14.y, as the USB HID update rate throttling
got (accidentally?) dropped.

Signed-off-by: Eric Anholt <[email protected]>
  • Loading branch information
anholt committed Feb 5, 2018
1 parent b3ec689 commit a8e8e63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/vc4/vc4_kms.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ vc4_atomic_complete_commit(struct drm_atomic_state *state)
* display lists before we free it and potentially reallocate
* and overwrite the dlist memory with a new modeset.
*/
state->legacy_cursor_update = false;
if (!vc4->firmware_kms)
state->legacy_cursor_update = false;

drm_atomic_helper_commit_hw_done(state);

Expand Down

0 comments on commit a8e8e63

Please sign in to comment.