Re: [PATCH] drm/msm: dpu: Allocate proper amount for dpu_crtc_state

2018-12-05 Thread Bruce Wang
On Mon, Dec 3, 2018 at 2:56 PM Sean Paul wrote: > > From: Sean Paul > > Since dpu_crtc subclasses crtc_state, we need a custom .reset hook in > order to allocate the right amount of memory to accommodate the > additional struct members in dpu_crtc_state. So bring it [partially] > back. > >

Re: [PATCH] drm/msm: dpu: Allocate proper amount for dpu_crtc_state

2018-12-04 Thread Sean Paul
On Tue, Dec 04, 2018 at 10:51:42AM -0500, Bruce Wang wrote: > On Mon, Dec 3, 2018 at 2:56 PM Sean Paul wrote: > > > > From: Sean Paul > > > > Since dpu_crtc subclasses crtc_state, we need a custom .reset hook in > > order to allocate the right amount of memory to accommodate the > > additional

[PATCH] drm/msm: dpu: Allocate proper amount for dpu_crtc_state

2018-12-03 Thread Sean Paul
From: Sean Paul Since dpu_crtc subclasses crtc_state, we need a custom .reset hook in order to allocate the right amount of memory to accommodate the additional struct members in dpu_crtc_state. So bring it [partially] back. Relevant KASAN splat: [ 10.82]