Re: libdrm vs. kernel-drm: Spelling of caching/cacheing and its impact?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 14, 2013 at 8:45 AM, Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote:
> [ 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?
>

Or see this one:

$ egrep 'DRM_I915_GEM_SET_CACH|DRM_I915_GEM_GET_CACH' -nr
~/src/linux-kernel/linux/include/drm/
~/src/linux-kernel/linux/include/uapi/drm/ ~/src/libdrm/libdrm-git/
~/src/linux-kernel/linux/include/uapi/drm/i915_drm.h:222:#define
DRM_I915_GEM_SET_CACHING  0x2f
~/src/linux-kernel/linux/include/uapi/drm/i915_drm.h:223:#define
DRM_I915_GEM_GET_CACHING  0x30
~/src/linux-kernel/linux/include/uapi/drm/i915_drm.h:249:#define
DRM_IOCTL_I915_GEM_SET_CACHING            DRM_IOW(DRM_COMMAND_BASE +
DRM_I915_GEM_SET_CACHING, struct drm_i915_gem_caching)
~/src/linux-kernel/linux/include/uapi/drm/i915_drm.h:250:#define
DRM_IOCTL_I915_GEM_GET_CACHING            DRM_IOWR(DRM_COMMAND_BASE +
DRM_I915_GEM_GET_CACHING, struct drm_i915_gem_caching)
~/src/libdrm/libdrm-git/include/drm/i915_drm.h:198:#define
DRM_I915_GEM_SET_CACHEING       0x2f
~/src/libdrm/libdrm-git/include/drm/i915_drm.h:199:#define
DRM_I915_GEM_GET_CACHEING       0x30
~/src/libdrm/libdrm-git/include/drm/i915_drm.h:225:#define
DRM_IOCTL_I915_GEM_SET_CACHEING         DRM_IOW(DRM_COMMAND_BASE +
DRM_I915_GEM_SET_CACHEING, struct drm_i915_gem_cacheing)
~/src/libdrm/libdrm-git/include/drm/i915_drm.h:226:#define
DRM_IOCTL_I915_GEM_GET_CACHEING         DRM_IOWR(DRM_COMMAND_BASE +
DRM_I915_GEM_GET_CACHEING, struct drm_i915_gem_cacheing)

- Sedat -
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux