From: Damien Lespiau Date: Tue, 11 Feb 2014 17:53:00 +0000 (+0000) Subject: lib/display: Fix typo in igt_plane_get_fd_id() (fb) X-Git-Tag: intel-gpu-tools-1.6~78 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4e85b7b53f2ebf3a8d5edab5ca98d6f8715a680;p=platform%2Fupstream%2Fintel-gpu-tools.git lib/display: Fix typo in igt_plane_get_fd_id() (fb) Signed-off-by: Damien Lespiau --- diff --git a/lib/igt_kms.c b/lib/igt_kms.c index 565a13a..d611c2b 100644 --- a/lib/igt_kms.c +++ b/lib/igt_kms.c @@ -1130,7 +1130,7 @@ static igt_plane_t *igt_pipe_get_plane(igt_pipe_t *pipe, enum igt_plane plane) return &pipe->planes[idx]; } -static uint32_t igt_plane_get_fd_id(igt_plane_t *plane) +static uint32_t igt_plane_get_fb_id(igt_plane_t *plane) { if (plane->fb) return plane->fb->fb_id; @@ -1179,7 +1179,7 @@ static int igt_drm_plane_commit(igt_plane_t *plane, igt_output_t *output) uint32_t fb_id, crtc_id; int ret; - fb_id = igt_plane_get_fd_id(plane); + fb_id = igt_plane_get_fb_id(plane); crtc_id = output->config.crtc->crtc_id; pipe = igt_output_get_driving_pipe(output); @@ -1263,7 +1263,7 @@ static int igt_output_commit(igt_output_t *output) int ret; crtc_id = output->config.crtc->crtc_id; - fb_id = igt_plane_get_fd_id(primary); + fb_id = igt_plane_get_fb_id(primary); if (fb_id) mode = igt_output_get_mode(output); else