summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>2018-06-05 15:54:01 +0200
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>2018-07-06 10:15:15 +0200
commitf8878bb2f8675e3c7716906b9b41bddc9b3bc039 (patch)
tree5fc3d7289241ec07bd711b80b7ec7a8cd9fcc35a
parentca52bea9fa8007f837ab4685b98979bbffc33416 (diff)
downloadop-kernel-dev-f8878bb2f8675e3c7716906b9b41bddc9b3bc039.zip
op-kernel-dev-f8878bb2f8675e3c7716906b9b41bddc9b3bc039.tar.gz
drm: print plane state normalized zpos value
When dumping plane state print normalized zpos value as done for the other plane state fields. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Reviewed-by: Philippe Cornu <philippe.cornu@st.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180605135407.20214-2-benjamin.gaignard@linaro.org
-rw-r--r--drivers/gpu/drm/drm_atomic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c
index d5cefb1..7c55991 100644
--- a/drivers/gpu/drm/drm_atomic.c
+++ b/drivers/gpu/drm/drm_atomic.c
@@ -1111,6 +1111,7 @@ static void drm_atomic_plane_print_state(struct drm_printer *p,
drm_printf(p, "\tcrtc-pos=" DRM_RECT_FMT "\n", DRM_RECT_ARG(&dest));
drm_printf(p, "\tsrc-pos=" DRM_RECT_FP_FMT "\n", DRM_RECT_FP_ARG(&src));
drm_printf(p, "\trotation=%x\n", state->rotation);
+ drm_printf(p, "\tnormalized-zpos=%x\n", state->normalized_zpos);
drm_printf(p, "\tcolor-encoding=%s\n",
drm_get_color_encoding_name(state->color_encoding));
drm_printf(p, "\tcolor-range=%s\n",
OpenPOWER on IntegriCloud