Skip to content

Commit

Permalink
Merge tag 'vmwgfx-next-2018-12-13' of git://people.freedesktop.org/~t…
Browse files Browse the repository at this point in the history
…homash/linux into drm-next

Pull request of 2018-12-13

Two minor fixes for next pull.

Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Thomas Hellstrom <thellstrom@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181213130848.3080-1-thellstrom@vmware.com
  • Loading branch information
airlied committed Dec 13, 2018
2 parents d675ba4 + 0660d8c commit 2a3c83f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/drm_damage_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ EXPORT_SYMBOL(drm_atomic_helper_dirtyfb);
* drm_atomic_helper_damage_iter_init - Initialize the damage iterator.
* @iter: The iterator to initialize.
* @old_state: Old plane state for validation.
* @new_state: Plane state from which to iterate the damage clips.
* @state: Plane state from which to iterate the damage clips.
*
* Initialize an iterator, which clips plane damage
* &drm_plane_state.fb_damage_clips to plane &drm_plane_state.src. This iterator
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/selftests/test-drm_damage_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static bool check_damage_clip(struct drm_plane_state *state, struct drm_rect *r,
int src_y2 = (state->src.y2 >> 16) + !!(state->src.y2 & 0xFFFF);

if (x1 >= x2 || y1 >= y2) {
pr_err("Cannot have damage clip with no dimention.\n");
pr_err("Cannot have damage clip with no dimension.\n");
return false;
}

Expand Down

0 comments on commit 2a3c83f

Please sign in to comment.