diff options
author | Eric Anholt <eric@anholt.net> | 2008-11-14 13:35:19 -0800 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-12-04 11:21:55 +1000 |
commit | e47c68e9c5d71e2faab8c2b82f57c6c73e6456fd (patch) | |
tree | 5edeeaa59dbccf418b4cae659efdcaa4cf4cc496 /drivers/gpu/drm/i915/i915_drv.h | |
parent | 2ef7eeaa553d88e78d9a4520271f26a7bc0e2968 (diff) | |
download | lwn-e47c68e9c5d71e2faab8c2b82f57c6c73e6456fd.tar.gz lwn-e47c68e9c5d71e2faab8c2b82f57c6c73e6456fd.zip |
drm/i915: Make a single set-to-cpu-domain path and use it wherever needed.
This fixes several domain management bugs, including potential lack of cache
invalidation for pread, potential failure to wait for set_domain(CPU, 0),
and more, along with producing more intelligible code.
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 76d9a706d8fd..adc972cc6bfc 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -379,8 +379,8 @@ struct drm_i915_gem_object { uint32_t agp_type; /** - * Flagging of which individual pages are valid in GEM_DOMAIN_CPU when - * GEM_DOMAIN_CPU is not in the object's read domain. + * If present, while GEM_DOMAIN_CPU is in the read domain this array + * flags which individual pages are valid. */ uint8_t *page_cpu_valid; }; |