mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-28 09:50:12 +01:00
modetest: Also print the pixel clock
This can be useful for debugging. xrandr prints it, so why not. Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
587e5a8179
commit
72a041694e
1 changed files with 3 additions and 2 deletions
|
|
@ -198,7 +198,7 @@ static void dump_encoders(struct device *dev)
|
|||
|
||||
static void dump_mode(drmModeModeInfo *mode)
|
||||
{
|
||||
printf(" %s %d %d %d %d %d %d %d %d %d",
|
||||
printf(" %s %d %d %d %d %d %d %d %d %d %d",
|
||||
mode->name,
|
||||
mode->vrefresh,
|
||||
mode->hdisplay,
|
||||
|
|
@ -208,7 +208,8 @@ static void dump_mode(drmModeModeInfo *mode)
|
|||
mode->vdisplay,
|
||||
mode->vsync_start,
|
||||
mode->vsync_end,
|
||||
mode->vtotal);
|
||||
mode->vtotal,
|
||||
mode->clock);
|
||||
|
||||
printf(" flags: ");
|
||||
mode_flag_str(mode->flags);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue