uapi: sde_drm: Define FOD_PRESSED_LAYER_ZORDER

Change-Id: I5b25d19fab3a2901948d639c785165e70786f4ab
tirimbino
Pig 4 years ago committed by Simon1511
parent 90caba6210
commit dc1b05b021
  1. 4
      drivers/gpu/drm/msm/sde/sde_plane.c
  2. 5
      include/uapi/drm/sde_drm.h

@ -4891,8 +4891,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;
}

@ -495,4 +495,9 @@ struct sde_drm_roi_misr_v1 {
#define SDE_RECOVERY_CAPTURE 1
#define SDE_RECOVERY_HARD_RESET 2
/*
* sde fod dim layer
*/
#define FOD_PRESSED_LAYER_ZORDER 0x20000000u
#endif /* _SDE_DRM_H_ */

Loading…
Cancel
Save