drm/amd/display: Use macro for invalid OPP ID
authorWesley Chalmers <Wesley.Chalmers@amd.com>
Thu, 23 May 2019 15:54:12 +0000 (11:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Jun 2019 17:49:50 +0000 (12:49 -0500)
commit1760bd06c8e94e1b184139ae35201856403638cf
tree7a28607e0fa7cd46901938e7075e5d0b27af59a1
parentc7c7192c56d20a56b843f62506d212fe3fe518b0
drm/amd/display: Use macro for invalid OPP ID

[WHY]
This is meant to make it clearer that 0xf is not a valid OPP ID, and
that code making use of OPP IDs should not accept this value.

Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h