[Intel-gfx] [PATCH 4/5] drm/i915: cpu-map based dumb buffers
Abdiel Janulgue
abdiel.janulgue at linux.intel.com
Tue Oct 22 07:52:55 UTC 2019
On 21/10/2019 16.35, Chris Wilson wrote:
> 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),
So we probably need a special use-case for GTT mmaps in those kind of
hw, no?
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