Re: [PATCH] drm/amd/display: remove useless check in should_enable_fbc()

2023-08-31 Thread Alex Deucher
Applied. Thanks! Alex On Thu, Aug 31, 2023 at 2:48 PM Harry Wentland wrote: > > On 2023-08-30 10:01, Dembskiy Igor wrote: > > It does not make sense to compare a pointer to array element with NULL. > > > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > > > Fixes: 65d38262

Re: [PATCH] drm/amd/display: remove useless check in should_enable_fbc()

2023-08-31 Thread Harry Wentland
On 2023-08-30 10:01, Dembskiy Igor wrote: > It does not make sense to compare a pointer to array element with NULL. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Fixes: 65d38262b3e8 ("drm/amd/display: fbc state could not reach while enable > fbc") > Signed-off-by: Dem

[PATCH] drm/amd/display: remove useless check in should_enable_fbc()

2023-08-31 Thread Dembskiy Igor
It does not make sense to compare a pointer to array element with NULL. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 65d38262b3e8 ("drm/amd/display: fbc state could not reach while enable fbc") Signed-off-by: Dembskiy Igor --- drivers/gpu/drm/amd/display/dc/dce110/d