drm/dp: WARN about invalid/unknown link rates and bw codes
authorJani Nikula <[email protected]>
Mon, 9 Oct 2017 09:29:57 +0000 (12:29 +0300)
committerJani Nikula <[email protected]>
Wed, 11 Oct 2017 15:41:44 +0000 (18:41 +0300)
commitcccf4e3fe3e286b55634c2c5d0c4399f4288e440
tree6aafb195e7a512a18a29314bd602a1fd64eee004
parent7c0f24a4c49c336ba82a429ef2fed0008efa9422
drm/dp: WARN about invalid/unknown link rates and bw codes

Falling back to the lowest value is likely the only thing we can do, but
doing it silently seems like a bad thing to do. Catch it early and make
loud noises.

Cc: Alex Deucher <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Rob Clark <[email protected]>
Cc: Sean Paul <[email protected]>
Cc: Manasi Navare <[email protected]>
Cc: [email protected]
Reviewed-by: Thierry Reding <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Manasi Navare <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/drm_dp_helper.c