On 7/4/2023 9:36 AM, Rob Clark wrote:
From: Rob Clark <robdclark@xxxxxxxxxxxx> Recently, a WARN_ON() was introduced to ensure that revn is filled before adreno_is_aXYZ is called. This however doesn't work very well when revn is 0 by design (such as for A635). Cc: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx> Fixes: cc943f43ece7 ("drm/msm/adreno: warn if chip revn is verified before being set") Signed-off-by: Rob Clark <robdclark@xxxxxxxxxxxx> --- drivers/gpu/drm/msm/adreno/adreno_gpu.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
Tested-by: Abhinav Kumar <quic_abhinavk@xxxxxxxxxxx> # sc7280