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 <aplattner@nvidia.com>
This commit is contained in:
Aaron Plattner 2019-10-22 10:06:30 -07:00
parent 1626e9fa77
commit 4fefe73fea
2 changed files with 2 additions and 0 deletions

View File

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

View File

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