Re: [Freedreno] [PATCH] drm/msm/dsi: Delay drm_panel_enable() until dsi_mgr_bridge_enable()

2019-11-08 Thread Jeffrey Hugo
On Fri, Nov 8, 2019 at 4:47 PM Stephan Gerhold wrote: > > On Fri, Nov 08, 2019 at 03:12:28PM -0700, Jeffrey Hugo wrote: > > On Fri, Nov 8, 2019 at 2:29 PM Stephan Gerhold wrote: > > > > > > At the moment, the MSM DSI driver calls drm_panel_enable() rather early > > > from the DSI bridge pre_enabl

Re: [Freedreno] [PATCH 0/3] allow DRM drivers to limit creation of blobs

2019-11-08 Thread cohens
On 2019-11-08 03:34, Daniel Vetter wrote: On Thu, Nov 07, 2019 at 02:39:11PM -0500, Steve Cohen wrote: Fuzzers used in Android compliance testing repeatedly call the create blob IOCTL which eventually exhausts the system memory. This series adds a hook which allows drivers to impose their own li

Re: [Freedreno] [PATCH] drm/msm/dsi: Delay drm_panel_enable() until dsi_mgr_bridge_enable()

2019-11-08 Thread Stephan Gerhold
On Fri, Nov 08, 2019 at 03:12:28PM -0700, Jeffrey Hugo wrote: > On Fri, Nov 8, 2019 at 2:29 PM Stephan Gerhold wrote: > > > > At the moment, the MSM DSI driver calls drm_panel_enable() rather early > > from the DSI bridge pre_enable() function. At this point, the encoder > > (e.g. MDP5) is not ena

Re: [Freedreno] [PATCH] drm/msm/dsi: Delay drm_panel_enable() until dsi_mgr_bridge_enable()

2019-11-08 Thread Jeffrey Hugo
On Fri, Nov 8, 2019 at 2:29 PM Stephan Gerhold wrote: > > At the moment, the MSM DSI driver calls drm_panel_enable() rather early > from the DSI bridge pre_enable() function. At this point, the encoder > (e.g. MDP5) is not enabled, so we have not started transmitting > video data. > > However, the

[Freedreno] [PATCH 00/16] drivers: y2038 updates

2019-11-08 Thread Arnd Bergmann
These are updates to devidce drivers and file systems that for some reason or another were not included in the kernel in the previous y2038 series. I've gone through all users of time_t again to make sure the kernel is in a long-term maintainable state. Posting these as a series for better organi

[Freedreno] [PATCH 14/16] drm/msm: avoid using 'timespec'

2019-11-08 Thread Arnd Bergmann
The timespec structure and associated interfaces are deprecated and will be removed in the future because of the y2038 overflow. The use of ktime_to_timespec() in timeout_to_jiffies() does not suffer from that overflow, but is easy to avoid by just converting the ktime_t into jiffies directly. Si

[Freedreno] [PATCH] drm/msm/dsi: Delay drm_panel_enable() until dsi_mgr_bridge_enable()

2019-11-08 Thread Stephan Gerhold
At the moment, the MSM DSI driver calls drm_panel_enable() rather early from the DSI bridge pre_enable() function. At this point, the encoder (e.g. MDP5) is not enabled, so we have not started transmitting video data. However, the drm_panel_funcs documentation states that enable() should be called

Re: [Freedreno] drm/msm: 'pp done time out' errors after async commit changes

2019-11-08 Thread Jeffrey Hugo
On Thu, Nov 7, 2019 at 7:03 PM Rob Clark wrote: > > On Thu, Nov 7, 2019 at 9:40 AM Jeffrey Hugo wrote: > > > > On Thu, Nov 7, 2019 at 9:17 AM Rob Clark wrote: > > > > > > On Thu, Nov 7, 2019 at 3:10 AM Brian Masney wrote: > > > > > > > > On Wed, Nov 06, 2019 at 08:58:59AM -0800, Rob Clark wrote

Re: [Freedreno] [PATCH 0/3] allow DRM drivers to limit creation of blobs

2019-11-08 Thread Daniel Vetter
On Thu, Nov 07, 2019 at 02:39:11PM -0500, Steve Cohen wrote: > Fuzzers used in Android compliance testing repeatedly call the > create blob IOCTL which eventually exhausts the system memory. > This series adds a hook which allows drivers to impose their own > limitations on the size and/or number o