[PATCH 1/2] drm: prepend stamp space to output mode logging
Bryce W. Harrington
b.harrington at samsung.com
Fri Jan 10 12:45:00 PST 2014
LGTM on both patches.
Reviewed-by: Bryce Harrington <b.harrington at samsung.com>
On Fri, Jan 10, 2014 at 10:15:17AM -0800, U. Artie Eoff wrote:
> Use the STAMP_SPACE to make the output mode logging
> a little nicer looking.
>
> Signed-off-by: U. Artie Eoff <ullysses.a.eoff at intel.com>
> ---
> src/compositor-drm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/compositor-drm.c b/src/compositor-drm.c
> index 136d517..f7d7a8a 100644
> --- a/src/compositor-drm.c
> +++ b/src/compositor-drm.c
> @@ -2058,7 +2058,7 @@ create_output_for_connector(struct drm_compositor *ec,
> weston_log("Output %s, (connector %d, crtc %d)\n",
> output->base.name, output->connector_id, output->crtc_id);
> wl_list_for_each(m, &output->base.mode_list, link)
> - weston_log_continue(" mode %dx%d@%.1f%s%s%s\n",
> + weston_log_continue(STAMP_SPACE "mode %dx%d@%.1f%s%s%s\n",
> m->width, m->height, m->refresh / 1000.0,
> m->flags & WL_OUTPUT_MODE_PREFERRED ?
> ", preferred" : "",
> --
> 1.8.4.2
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list