diff options
author | Matt Roper <[email protected]> | 2014-05-29 08:06:52 -0700 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2014-06-05 08:52:43 +0200 |
commit | 7daf8d54c17c6dae0c949aa37cbc6bb5604a4b2e (patch) | |
tree | 27179d70121515fd555d258aef290d59023c4cdb /fs/jbd2/commit.c | |
parent | 7f994f3fc4f44365a953dbcac55131b7160750ea (diff) |
drm/plane-helper: Add drm_plane_helper_check_update() (v3)
Pull the parameter checking from drm_primary_helper_update() out into
its own function; drivers that provide their own setplane()
implementations rather than using the helper may still want to share
this parameter checking logic.
A few of the checks here were also updated based on suggestions by
Ville Syrjälä.
v3:
- s/primary_helper/plane_helper/ --- this checking logic may be useful
for other types of planes as well.
- Fix visibility check (need to dereference visibility pointer)
v2:
- Pass src/dest/clip rects and min/max scaling down to helper to avoid
duplication of effort between helper and drivers (suggested by
Ville).
- Allow caller to specify whether the primary plane should be
updatable while the crtc is disabled.
Cc: [email protected]
Reviewed-by: Chon Ming Lee <[email protected]>
Signed-off-by: Matt Roper <[email protected]>
Acked-by: Dave Airlie <[email protected]>
[danvet: Include header properly and fixup declaration mismatch to
make this compile.]
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions