https://bugzilla.kernel.org/show_bug.cgi?id=205277

stefansp...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stefansp...@gmail.com

--- Comment #4 from stefansp...@gmail.com ---
(In reply to haro41 from comment #3)
> Did you debug this issue? I think the problem could be outside this code. 
> 
> I would outcomment the if-statement following for-loop in your proposed
> patch, because otherwise 'i' points outside the array boundarys here.

I think the if statement is fine as both od_vddc_lookup_table->entries[] and
podn_vdd_dep->entries[] both hold MAX_REGULAR_DPM_NUMBER members, which is 8,
so accessing entries[7] is not out of bounds.

Btw, the patch works for me aswell. Card behaves as it should after loading my
pp_table, which was not the case before.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to