[Intel-gfx] [PATCH 4/5] drm/i915: cpu-map based dumb buffers

Chris Wilson chris at chris-wilson.co.uk
Mon Oct 21 13:35:15 UTC 2019


Quoting Abdiel Janulgue (2019-10-21 11:48:10)
> +int
> +i915_gem_mmap_dumb(struct drm_file *file,
> +                 struct drm_device *dev,
> +                 u32 handle,
> +                 u64 *offset)
> +{
> +       return __assign_gem_object_mmap_data(file, handle, I915_MMAP_TYPE_WC,

It still needs to do boot_cpu_has(PAT), but it looks like
kms_frontbuffer is not doing enough dirtyfb for its dumb buffer usage.
Bad IGT (it's either a bug in the test for not adhering to the uabi
for dumb buffers, or we have some tracking bug intel_frontbuffer).
-Chris


More information about the Intel-gfx mailing list