]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amd/display: Don't set cursor address is 0 logging as errors
authorAndrew Jiang <Andrew.Jiang@amd.com>
Fri, 6 Oct 2017 22:02:23 +0000 (18:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 21 Oct 2017 20:50:43 +0000 (16:50 -0400)
This actually happens quite a bit, and having it as an error causes
false positive messages when running tests.

Signed-off-by: Andrew Jiang <Andrew.Jiang@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_stream.c

index 97f040a258206bdb7ed198ac47543ae0c46ed96b..5cf69af9693d242cb8e9b52787bc614f78c6abe6 100644 (file)
@@ -190,7 +190,7 @@ bool dc_stream_set_cursor_attributes(
        }
 
        if (attributes->address.quad_part == 0) {
-               dm_error("DC: Cursor address is 0!\n");
+               dm_output_to_console("DC: Cursor address is 0!\n");
                return false;
        }