Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Print legacy CRTC gamma size #59

Merged
merged 1 commit into from
Sep 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pretty.c
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,11 @@ static void print_crtcs(struct json_object *arr)
printf("\n");
}

struct json_object *gamma_size_obj =
json_object_object_get(obj, "gamma_size");
printf(L_LINE "%s" L_VAL "Gamma size: %d\n",
last ? L_GAP : L_LINE, json_object_get_int(gamma_size_obj));

print_properties(props_obj, last ? L_LINE L_GAP : L_LINE L_LINE);
}
}
Expand Down