Re: [Freedreno] [PATCH v2.1 1/2] drm/msm: remove resv fields from msm_gem_object struct

2019-05-14 Thread Sean Paul
On Mon, May 13, 2019 at 07:41:04PM -0400, Brian Masney wrote: > The msm_gem_object structure contains resv and _resv fields that are > no longer needed since the reservation object is now stored on > drm_gem_object. msm_atomic_prepare_fb() and msm_atomic_prepare_fb() > both referenced the wrong

[Freedreno] [PATCH v2.1 1/2] drm/msm: remove resv fields from msm_gem_object struct

2019-05-13 Thread Brian Masney
The msm_gem_object structure contains resv and _resv fields that are no longer needed since the reservation object is now stored on drm_gem_object. msm_atomic_prepare_fb() and msm_atomic_prepare_fb() both referenced the wrong reservation object, and would lead to an attempt to dereference a NULL