mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
drm: Add drm_atomic_get_old/new_private_obj_state
This pair of functions return the old/new private object state for the given private_obj, or NULL if the private_obj is not part of the global atomic state. Reviewed-by: Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com> Signed-off-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com> Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
This commit is contained in:
parent
7c13e5cc23
commit
9801a7eadf
2 changed files with 50 additions and 1 deletions
|
|
@ -452,6 +452,12 @@ void drm_atomic_private_obj_fini(struct drm_private_obj *obj);
|
|||
struct drm_private_state * __must_check
|
||||
drm_atomic_get_private_obj_state(struct drm_atomic_state *state,
|
||||
struct drm_private_obj *obj);
|
||||
struct drm_private_state *
|
||||
drm_atomic_get_old_private_obj_state(struct drm_atomic_state *state,
|
||||
struct drm_private_obj *obj);
|
||||
struct drm_private_state *
|
||||
drm_atomic_get_new_private_obj_state(struct drm_atomic_state *state,
|
||||
struct drm_private_obj *obj);
|
||||
|
||||
/**
|
||||
* drm_atomic_get_existing_crtc_state - get crtc state, if it exists
|
||||
|
|
|
|||
Loading…
Reference in a new issue