OSDN Git Service

drm/amd/display: Return DMUB_STATUS_OK when autoload unsupported
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Thu, 7 Nov 2019 20:29:20 +0000 (15:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2019 21:27:55 +0000 (16:27 -0500)
commita49421185189ba05f4c1b8477f1272fb2d024d2f
treebdd30dc0c5bf37f083bcc613c66c749d043b1953
parent3c465370f20abd3c8783da816a445ad5bcbfdb76
drm/amd/display: Return DMUB_STATUS_OK when autoload unsupported

[Why]
Not having support for autoload isn't an error. If the DMUB firmware
doesn't support it then don't return DMUB_STATUS_INVALID.

[How]
Return DMUB_STATUS_OK when ->is_auto_load_done is NULL.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c