mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 08:10:03 +01:00
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:
parent
1626e9fa77
commit
4fefe73fea
2 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue