Re: [PATCH 7/7] drm/i915/perf: reuse timestamp frequency from device info

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

 



Quoting Lionel Landwerlin (2017-11-10 19:08:45)
> @@ -3528,7 +3502,7 @@ void i915_perf_init(struct drm_i915_private *dev_priv)
>                 spin_lock_init(&dev_priv->perf.oa.oa_buffer.ptr_lock);
>  
>                 oa_sample_rate_hard_limit =
> -                       dev_priv->perf.oa.timestamp_frequency / 2;
> +                       INTEL_INFO(dev_priv)->cs_timestamp_frequency / 2;

32-bit builds may complain, as this is ostensibly now a 64b division.
Right?
-Chris
_______________________________________________
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