]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Improve warning log for get OPP for OTG master
authorRodrigo Siqueira <rodrigo.siqueira@amd.com>
Thu, 6 Jun 2024 14:58:49 +0000 (08:58 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Jun 2024 16:45:21 +0000 (12:45 -0400)
commit85fa2287458f17ee124e77f1ec49dcf769869a25
treefefdd89ad0038f93a37ee0ec1c7e5b4397fdce01
parent26ec3cca7b1c498307d966c007bc85e0c6b8c6fa
drm/amd/display: Improve warning log for get OPP for OTG master

If some part of the driver tries to call
resource_get_opp_heads_for_otg_master in a non-OTG master context, DC
will trigger a dmesg warning since this situation indicates that some
configuration associated with ODM slices might be wrong. This commit
adds an extra log to describe why the warning was triggered to make the
debugging more straightforward.

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c