that args != NULL when calling this function
for a map operation as it was suggested by Danilo [1]
[1] https://lore.kernel.org/lkml/6a1ebcef-bade-45a0-9bd9-c05f0226e...@redhat.com
Suggested-by: Danilo Krummrich
Signed-off-by: Yuran Pereira
---
drivers/gpu/drm/nouveau/nouveau_uvmm.c | 6 +-
1
Hello Danilo,
On Tue, Nov 14, 2023 at 05:23:59PM +0100, Danilo Krummrich wrote:
> Hi Yuran,
>
> op_map_prepare() can't be called with `args` being NULL, since when called
> through nouveau_uvmm_sm_unmap_prepare() we can't hit the DRM_GPUVA_OP_MAP
> case at all.
>
> Unmapping something never
ated to that previously.
>
> Hm, seems like it's used rather consistently in the DM and in DC
> though.
>
Have you decided which one should be used?
Should I submit a v2 patch using {0} instead of memset?
Yuran Pereira
> >
> > Bhawan
> >
> > ---
iour
Addresses-Coverity-ID: 1544428 ("Uninitialized scalar variable")
Fixes: dede1fea4460 ("drm/amd/display: Add Freesync Panel DM code")
Signed-off-by: Yuran Pereira
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_replay.c | 3 +++
1 file changed, 3 insertions(+)
diff --g
is patch ensures that the value of args is checked before
calling op_map_prepare()
Addresses-Coverity-ID: 1544574 ("Dereference after null check")
Signed-off-by: Yuran Pereira
---
drivers/gpu/drm/nouveau/nouveau_uvmm.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --gi
Since "Clean up checks for already prepared/enabled in panels" has
already been done and merged [1], I think there is no longer a need
for this item to be in the gpu TODO.
[1] https://patchwork.freedesktop.org/patch/551421/
Signed-off-by: Yuran Pereira
---
Documentation/gpu/tod
-in-panels
Suggested-by: Douglas Anderson
Signed-off-by: Yuran Pereira
---
drivers/gpu/drm/panel/panel-asus-z00t-tm5p5-n35596.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/gpu/drm/panel/panel-asus-z00t-tm5p5-n35596.c
b/drivers/gpu/drm/panel/panel-asus-z00t-tm5p5-n35596.c
index