Re: [PATCH v2] drm/msm: handle for EPROBE_DEFER for of_icc_get

2020-07-14 Thread Jonathan Marek
On 7/9/20 11:15 AM, Rob Clark wrote: On Thu, Jul 9, 2020 at 7:35 AM Jonathan Marek wrote: Check for errors instead of silently not using icc if the msm driver probes before the interconnect driver. Allow ENODATA for ocmem path, as it is optional and this error is returned when "gfx-mem" path

Re: [PATCH v2] drm/msm: handle for EPROBE_DEFER for of_icc_get

2020-07-10 Thread Rob Clark
On Fri, Jul 10, 2020 at 4:11 PM Jonathan Marek wrote: > > On 7/9/20 11:15 AM, Rob Clark wrote: > > On Thu, Jul 9, 2020 at 7:35 AM Jonathan Marek wrote: > >> > >> Check for errors instead of silently not using icc if the msm driver > >> probes before the interconnect driver. > >> > >> Allow ENODAT

[PATCH v2] drm/msm: handle for EPROBE_DEFER for of_icc_get

2020-07-10 Thread Jonathan Marek
Check for errors instead of silently not using icc if the msm driver probes before the interconnect driver. Allow ENODATA for ocmem path, as it is optional and this error is returned when "gfx-mem" path is provided but not "ocmem". Remove the WARN_ON in msm_gpu_cleanup because INIT_LIST_HEAD won'

Re: [PATCH v2] drm/msm: handle for EPROBE_DEFER for of_icc_get

2020-07-09 Thread Rob Clark
On Thu, Jul 9, 2020 at 7:35 AM Jonathan Marek wrote: > > Check for errors instead of silently not using icc if the msm driver > probes before the interconnect driver. > > Allow ENODATA for ocmem path, as it is optional and this error > is returned when "gfx-mem" path is provided but not "ocmem". >