Re: [PATCH v6] drm/i915: Add IOCTL Param to control data port coherency.

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

 



Quoting Lis, Tomasz (2018-07-18 18:28:32)
> 
> On 2018-07-18 16:42, Tvrtko Ursulin wrote:
> >
> > On 18/07/2018 14:24, Joonas Lahtinen wrote:
> >> Quoting Tomasz Lis (2018-07-16 16:07:16)

<SNIP>

> >>> +++ b/include/uapi/drm/i915_drm.h
> >>> @@ -1456,6 +1456,13 @@ struct drm_i915_gem_context_param {
> >>>   #define   I915_CONTEXT_MAX_USER_PRIORITY       1023 /* inclusive */
> >>>   #define   I915_CONTEXT_DEFAULT_PRIORITY                0
> >>>   #define   I915_CONTEXT_MIN_USER_PRIORITY       -1023 /* inclusive */
> >>> +/*
> >>> + * When data port level coherency is enabled, the GPU will update 
> >>> memory
> >>> + * buffers shared with CPU, by forcing internal cache units to send 
> >>> memory
> >>> + * writes to higher level caches faster. Enabling data port 
> >>> coherency has
> >>> + * a performance cost.
> >>> + */
> >>
> >> I was under impression this is enabled by default and it can be disabled
> >> for a performance optimization?
> This is true, coherency is kept by default. We disable it as a 
> workaround: performance-related for gen11, and due to minor hardware 
> issue on previous platforms. See WaForceEnableNonCoherent.

Ok, then you definitely want to rephrase the comment to bake that
information in it. Now it sounds like it needs to be turned on to have
coherency.

Regards, Joonas
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://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