Re: [PATCH] GPU: DRM: VC4/V3D Replace wait_for macros in to remove use of msleep

2020-03-04 Thread Eric Anholt
On Thu, Feb 20, 2020 at 1:44 AM James Hughes wrote: > > On Wed, 19 Feb 2020 at 22:51, Eric Anholt wrote: > > > > On Mon, Feb 17, 2020 at 7:41 AM James Hughes > > wrote: > > > > > > The wait_for macro's for Broadcom VC4 and V3D drivers used msleep > > > which is inappropriate due to its inaccurac

Re: [PATCH] GPU: DRM: VC4/V3D Replace wait_for macros in to remove use of msleep

2020-02-21 Thread James Hughes
On Wed, 19 Feb 2020 at 22:51, Eric Anholt wrote: > > On Mon, Feb 17, 2020 at 7:41 AM James Hughes > wrote: > > > > The wait_for macro's for Broadcom VC4 and V3D drivers used msleep > > which is inappropriate due to its inaccuracy at low values (minimum > > wait time is about 30ms on the Raspberry

Re: [PATCH] GPU: DRM: VC4/V3D Replace wait_for macros in to remove use of msleep

2020-02-19 Thread Eric Anholt
On Mon, Feb 17, 2020 at 7:41 AM James Hughes wrote: > > The wait_for macro's for Broadcom VC4 and V3D drivers used msleep > which is inappropriate due to its inaccuracy at low values (minimum > wait time is about 30ms on the Raspberry Pi). > > This patch replaces the macro with the one from the In

[PATCH] GPU: DRM: VC4/V3D Replace wait_for macros in to remove use of msleep

2020-02-17 Thread James Hughes
The wait_for macro's for Broadcom VC4 and V3D drivers used msleep which is inappropriate due to its inaccuracy at low values (minimum wait time is about 30ms on the Raspberry Pi). This patch replaces the macro with the one from the Intel i915 version which uses usleep_range to provide more accurat