Commit 4fefe73f authored by Aaron Plattner's avatar Aaron Plattner
Browse files

modesetting: Store property values in drmmode_prop_info_rec



A later change will need to read the value of the GAMMA_LUT_SIZE property.

Signed-off-by: Aaron Plattner's avatarAaron Plattner <aplattner@nvidia.com>
parent 1626e9fa
......@@ -321,6 +321,7 @@ drmmode_prop_info_update(drmmode_ptr drmmode,
}
info[j].prop_id = props->props[i];
info[j].value = props->prop_values[i];
valid_mask |= 1U << j;
if (info[j].num_enum_values == 0) {
......
......@@ -141,6 +141,7 @@ typedef struct {
typedef struct {
const char *name;
uint32_t prop_id;
uint64_t value;
unsigned int num_enum_values;
drmmode_prop_enum_info_rec *enum_values;
} drmmode_prop_info_rec, *drmmode_prop_info_ptr;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment