wl-drm: Add screen position to debug output

Small patch which adds the screen geometry to the output of drm2 randr
apply so we can test mutli-output setups and know which screen is where.

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2017-08-29 15:17:36 -04:00
parent 3cc70fc607
commit f5e19a7721
1 changed files with 2 additions and 1 deletions

View File

@ -604,7 +604,8 @@ _drm2_randr_apply(void)
ecore_drm2_output_enabled_set(output, s->config.enabled);
printf("\tDRM2 RRR: Mode\n");
printf("\t\tDRM2 RRR: Geom: %d %d\n",
printf("\t\tDRM2 RRR: Geom: %d %d %dx%d\n",
s->config.geom.x, s->config.geom.y,
s->config.mode.w, s->config.mode.h);
printf("\t\tDRM2 RRR: Refresh: %f\n", s->config.mode.refresh);
printf("\t\tDRM2 RRR: Preferred: %d\n", s->config.mode.preferred);