[Intel-gfx] libdrm vs. kernel-drm: Spelling of caching/cacheing and its impact?

Sedat Dilek sedat.dilek at gmail.com
Wed Aug 14 08:45:47 CEST 2013


[ Sending to intel-gfx only for 1st feedback ]

Hi,

while still digging into my next-20130813 issue, I have searched for
some defines:

$ egrep 'I915_CACHEING_CACHED|I915_CACHING_CACHED|I915_CACHEING_NONE|I915_CACHING_NONE'
-nr ~/src/linux-kernel/linux/drivers/gpu/drm/i915/
~/src/linux-kernel/linux/drivers/gpu/drm/i915/i915_gem.c:3471:
    args->caching = I915_CACHING_CACHED;
~/src/linux-kernel/linux/drivers/gpu/drm/i915/i915_gem.c:3479:
    args->caching = I915_CACHING_NONE;
~/src/linux-kernel/linux/drivers/gpu/drm/i915/i915_gem.c:3498:
case I915_CACHING_NONE:
~/src/linux-kernel/linux/drivers/gpu/drm/i915/i915_gem.c:3501:
case I915_CACHING_CACHED:

$ egrep 'I915_CACHEING_CACHED|I915_CACHING_CACHED|I915_CACHEING_NONE|I915_CACHING_NONE'
-nr ~/src/linux-kernel/linux/include/drm/

$ egrep 'I915_CACHEING_CACHED|I915_CACHING_CACHED|I915_CACHEING_NONE|I915_CACHING_NONE'
-nr ~/src/libdrm/libdrm-git/
~/src/libdrm/libdrm-git/include/drm/i915_drm.h:709:#define
I915_CACHEING_NONE              0
~/src/libdrm/libdrm-git/include/drm/i915_drm.h:710:#define
I915_CACHEING_CACHED            1

[ This is libdrm v2.4.46 BTW. ]

I also checked intel-gpu-tools which has also cach***e*** pattern in
some defines.

What's the impact of this misspelling?

Regards,
- Sedat -



More information about the Intel-gfx mailing list