Re: [PATCH] drm/msm: UAPI error reporting

2024-12-31 Thread Tvrtko Ursulin
On 22/11/2024 15:51, Rob Clark wrote: On Fri, Nov 22, 2024 at 4:21 AM Konrad Dybcio wrote: On 21.11.2024 5:48 PM, Rob Clark wrote: From: Rob Clark Debugging incorrect UAPI usage tends to be a bit painful, so add a helper macro to make it easier to add debug logging which can be enabled at

Re: [PATCH] drm/msm: UAPI error reporting

2024-12-13 Thread Konrad Dybcio
On 13.12.2024 4:55 PM, Rob Clark wrote: > On Fri, Dec 13, 2024 at 5:11 AM Konrad Dybcio > wrote: >> >> On 23.11.2024 3:41 AM, Rob Clark wrote: >>> On Fri, Nov 22, 2024 at 4:19 PM Konrad Dybcio >>> wrote: On 22.11.2024 4:51 PM, Rob Clark wrote: > On Fri, Nov 22, 2024 at 4:21 AM Konra

Re: [PATCH] drm/msm: UAPI error reporting

2024-12-13 Thread Rob Clark
On Fri, Dec 13, 2024 at 5:11 AM Konrad Dybcio wrote: > > On 23.11.2024 3:41 AM, Rob Clark wrote: > > On Fri, Nov 22, 2024 at 4:19 PM Konrad Dybcio > > wrote: > >> > >> On 22.11.2024 4:51 PM, Rob Clark wrote: > >>> On Fri, Nov 22, 2024 at 4:21 AM Konrad Dybcio > >>> wrote: > > On 21.11.

Re: [PATCH] drm/msm: UAPI error reporting

2024-12-13 Thread Konrad Dybcio
On 23.11.2024 3:41 AM, Rob Clark wrote: > On Fri, Nov 22, 2024 at 4:19 PM Konrad Dybcio > wrote: >> >> On 22.11.2024 4:51 PM, Rob Clark wrote: >>> On Fri, Nov 22, 2024 at 4:21 AM Konrad Dybcio >>> wrote: On 21.11.2024 5:48 PM, Rob Clark wrote: > From: Rob Clark > > Debuggin

Re: [PATCH] drm/msm: UAPI error reporting

2024-11-22 Thread Rob Clark
On Fri, Nov 22, 2024 at 4:19 PM Konrad Dybcio wrote: > > On 22.11.2024 4:51 PM, Rob Clark wrote: > > On Fri, Nov 22, 2024 at 4:21 AM Konrad Dybcio > > wrote: > >> > >> On 21.11.2024 5:48 PM, Rob Clark wrote: > >>> From: Rob Clark > >>> > >>> Debugging incorrect UAPI usage tends to be a bit painf

Re: [PATCH] drm/msm: UAPI error reporting

2024-11-22 Thread Konrad Dybcio
On 22.11.2024 4:51 PM, Rob Clark wrote: > On Fri, Nov 22, 2024 at 4:21 AM Konrad Dybcio > wrote: >> >> On 21.11.2024 5:48 PM, Rob Clark wrote: >>> From: Rob Clark >>> >>> Debugging incorrect UAPI usage tends to be a bit painful, so add a >>> helper macro to make it easier to add debug logging whi

Re: [PATCH] drm/msm: UAPI error reporting

2024-11-22 Thread Rob Clark
On Fri, Nov 22, 2024 at 4:21 AM Konrad Dybcio wrote: > > On 21.11.2024 5:48 PM, Rob Clark wrote: > > From: Rob Clark > > > > Debugging incorrect UAPI usage tends to be a bit painful, so add a > > helper macro to make it easier to add debug logging which can be enabled > > at runtime via drm.debug

Re: [PATCH] drm/msm: UAPI error reporting

2024-11-22 Thread Konrad Dybcio
On 21.11.2024 5:48 PM, Rob Clark wrote: > From: Rob Clark > > Debugging incorrect UAPI usage tends to be a bit painful, so add a > helper macro to make it easier to add debug logging which can be enabled > at runtime via drm.debug. > > Signed-off-by: Rob Clark > --- [...] > +/* Helper for ret

[PATCH] drm/msm: UAPI error reporting

2024-11-21 Thread Rob Clark
From: Rob Clark Debugging incorrect UAPI usage tends to be a bit painful, so add a helper macro to make it easier to add debug logging which can be enabled at runtime via drm.debug. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/adreno_gpu.c | 21 drivers/gpu/drm/msm/msm_drv.