[Intel-gfx] [PATCH igt 25/28] lib/display: Print the fb id, not its pointer in the set_fb() log message
Damien Lespiau
damien.lespiau at intel.com
Fri Feb 7 15:49:09 CET 2014
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
lib/igt_kms.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index fbbf6aa..7d74bf8 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -1411,8 +1411,8 @@ void igt_plane_set_fb(igt_plane_t *plane, struct kmstest_fb *fb)
igt_pipe_t *pipe = plane->pipe;
igt_display_t *display = pipe->display;
- LOG(display, "%c.%d: plane_set_fb(%p)\n", pipe_name(pipe->pipe),
- plane->index, fb);
+ LOG(display, "%c.%d: plane_set_fb(%d)\n", pipe_name(pipe->pipe),
+ plane->index, fb ? fb->fb_id : 0);
plane->fb = fb;
--
1.8.3.1
More information about the Intel-gfx
mailing list