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>
devs/bu5hm4n/sandbox_fix
Chris Michael 6 years ago
parent 3cc70fc607
commit f5e19a7721
  1. 3
      src/modules/wl_drm/e_mod_main.c

@ -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);

Loading…
Cancel
Save