Re: [PATCH] drm/msm/adreno: fix gpu probe if no interconnect-names

2020-07-16 Thread Jonathan Marek
On 7/15/20 2:29 PM, Rob Clark wrote: From: Rob Clark If there is no interconnect-names, but there is an interconnects property, then of_icc_get(dev, "gfx-mem"); would return an error rather than NULL. Also, if there is no interconnect-names property, there will never be a ocmem path. But of_i

Re: [PATCH] drm/msm/adreno: fix gpu probe if no interconnect-names

2020-07-15 Thread Jordan Crouse
On Wed, Jul 15, 2020 at 12:07:30PM -0700, Rob Clark wrote: > From: Rob Clark > > If there is no interconnect-names, but there is an interconnects > property, then of_icc_get(dev, "gfx-mem"); would return an error > rather than NULL. > > Also, if there is no interconnect-names property, there wil

[PATCH] drm/msm/adreno: fix gpu probe if no interconnect-names

2020-07-15 Thread Rob Clark
From: Rob Clark If there is no interconnect-names, but there is an interconnects property, then of_icc_get(dev, "gfx-mem"); would return an error rather than NULL. Also, if there is no interconnect-names property, there will never be a ocmem path. But of_icc_get(dev, "ocmem") would return -EINV

Re: [PATCH] drm/msm/adreno: fix gpu probe if no interconnect-names

2020-07-15 Thread Rob Clark
On Wed, Jul 15, 2020 at 11:37 AM Jonathan Marek wrote: > > On 7/15/20 2:29 PM, Rob Clark wrote: > > From: Rob Clark > > > > If there is no interconnect-names, but there is an interconnects > > property, then of_icc_get(dev, "gfx-mem"); would return an error > > rather than NULL. > > > > Also, if

[PATCH] drm/msm/adreno: fix gpu probe if no interconnect-names

2020-07-15 Thread Rob Clark
From: Rob Clark If there is no interconnect-names, but there is an interconnects property, then of_icc_get(dev, "gfx-mem"); would return an error rather than NULL. Also, if there is no interconnect-names property, there will never be a ocmem path. But of_icc_get(dev, "ocmem") would return -EINV