diff options
author | Keith Packard <keithp@keithp.com> | 2007-12-16 20:16:50 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2007-12-21 12:16:29 -0800 |
commit | d1187641d64f442968a3b9ea6a19de6cdd45acd4 (patch) | |
tree | d90398789d325eb265a5680f83dabfc898210e04 /linux-core/via_buffer.c | |
parent | 37fb2ac4071f62bad2c36cc9ca84f9c8feee6bf5 (diff) |
Rename inappropriately named 'mask' fields to 'proposed_flags' instead.
Flags pending validation were stored in a misleadingly named field, 'mask'.
As 'mask' is already used to indicate pieces of a flags field which are
changing, it seems better to use a name reflecting the actual purpose of
this field. I chose 'proposed_flags' as they may not actually end up in
'flags', and in an case will be modified when they are moved over.
This affects the API, but not ABI of the user-mode interface.
Diffstat (limited to 'linux-core/via_buffer.c')
-rw-r--r-- | linux-core/via_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/via_buffer.c b/linux-core/via_buffer.c index ea755247..532fae6a 100644 --- a/linux-core/via_buffer.c +++ b/linux-core/via_buffer.c @@ -144,7 +144,7 @@ int via_init_mem_type(struct drm_device * dev, uint32_t type, return 0; } -uint32_t via_evict_mask(struct drm_buffer_object *bo) +uint64_t via_evict_flags(struct drm_buffer_object *bo) { switch (bo->mem.mem_type) { case DRM_BO_MEM_LOCAL: |