On Wed, Aug 14, 2013 at 8:52 AM, Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote: > 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) > I have *not* installed next-20130813 linux-headers Debian package (generated via 'make deb-pkg'). $ dpkg -l | grep -i linux-headers ii linux-headers-3.2.0-52 3.2.0-52.78 Header files related to Linux kernel version 3.2.0 ii linux-headers-3.2.0-52-generic 3.2.0-52.78 Linux kernel headers for version 3.2.0 on 64 bit x86 SMP ii linux-headers-generic 3.2.0.52.62 Generic Linux kernel headers So, what I have is kernel-drm v3.2.0-52.78 and libdrm v2.4.46. - Sedat - _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx