mbox series

[v2,0/1] Regression in rockchipdrm

Message ID 20200109073129.378507-1-t.schramm@manjaro.org (mailing list archive)
Headers show
Series Regression in rockchipdrm | expand

Message

Tobias Schramm Jan. 9, 2020, 7:31 a.m. UTC
commit 2589c4025f13 ("drm/rockchip: Avoid drm_dp_link helpers") changed
the datatype used for storing the display port data rate to u8.
A u8 is not sufficient to store the data rate, resulting in a crash due
to incorrect calculations.

This series resolves the issue by restoring the data type changed in
commit 2589c4025f13 to their original type.

Thanks to CrystalGamma for identifying the commit causing the regression.

v2: Keep lane count as u8

Tobias Schramm (1):
  drm/rockchip: fix integer type used for storing dp data rate

 drivers/gpu/drm/rockchip/cdn-dp-core.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)