drm/amd/display: assert if mask is 0 in set_reg_field_value_ex
authorTony Cheng <tony.cheng@amd.com>
Sat, 14 Jan 2017 06:44:52 +0000 (01:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:10:12 +0000 (17:10 -0400)
commitbf72726358adfedcf1c268690521891809332151
treeda7bad4a95c74f8296ee8f7de4265072c6f54223
parentf84a8161cb1652281746d113667427dbbf8bd5db
drm/amd/display: assert if mask is 0 in set_reg_field_value_ex

-  mask = 0 means something is wrong in caller and no register field will be updated

Signed-off-by: Tony Cheng <tony.cheng@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dm_services.h