uapi: sde_drm: Define FOD_PRESSED_LAYER_ZORDER
Change-Id: I5b25d19fab3a2901948d639c785165e70786f4ab
This commit is contained in:
parent
78016cfe81
commit
b571fe4384
@ -4685,8 +4685,8 @@ static int sde_plane_atomic_set_property(struct drm_plane *plane,
|
||||
idx = msm_property_index(&psde->property_info,
|
||||
property);
|
||||
if (idx == PLANE_PROP_ZPOS) {
|
||||
if (val & 0x20000000u) {
|
||||
val &= ~0x20000000u;
|
||||
if (val & FOD_PRESSED_LAYER_ZORDER) {
|
||||
val &= ~FOD_PRESSED_LAYER_ZORDER;
|
||||
fod_val = 1;
|
||||
}
|
||||
|
||||
|
@ -446,4 +446,9 @@ struct sde_drm_roi_v1 {
|
||||
#define SDE_MODE_DPMS_SUSPEND 4
|
||||
#define SDE_MODE_DPMS_OFF 5
|
||||
|
||||
/**
|
||||
* sde fod dim layer
|
||||
*/
|
||||
#define FOD_PRESSED_LAYER_ZORDER 0x20000000u
|
||||
|
||||
#endif /* _SDE_DRM_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user