Re: [Freedreno] [PATCH 1/2] drm/msm/adreno: Fix warn splat for devices without revn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux