Re: [Intel-gfx] [PATCH] drm/i915: Handle full s64 precision for wait-ioctl

2017-08-05 Thread Chris Wilson
Quoting Chris Wilson (2017-08-05 20:19:24) > The wait-ioctl is optionally supplied a timeout with nanosecond > precision in a s64 field. We use nsecs_to_jiffies64() to convert that > into the jiffies consumed by the scheduler, but internally > nsecs_to_jiffies64() does not guard against overflow (a

[Intel-gfx] [PATCH] drm/i915: Handle full s64 precision for wait-ioctl

2017-08-05 Thread Chris Wilson
The wait-ioctl is optionally supplied a timeout with nanosecond precision in a s64 field. We use nsecs_to_jiffies64() to convert that into the jiffies consumed by the scheduler, but internally nsecs_to_jiffies64() does not guard against overflow (as it's purpose is for use by the scheduler and not

Re: [Intel-gfx] [RFC v4] drm/hdcp: drm enum property for CP State

2017-08-05 Thread Ramalingam C
Hi all, As we discussed in this review thread before, "UNSUPPORTED" state is added to the HDCP property to indicate a situation when HDCP is not possible, though hdcp property is attached to connector obj. In such case I would prefer to detach the hdcp property from connector, which would hav