drm/amd: print error on convert_tiling_flags_to_modifier failure
authorSimon Ser <contact@emersion.fr>
Fri, 4 Dec 2020 16:49:03 +0000 (16:49 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Dec 2020 04:02:24 +0000 (23:02 -0500)
commit048faf2783a273e162fad5d09089a75c6e2cc10e
tree96c3426f7a81e66da3ad923c58a8d6d12527066b
parentccac8baba156ace586672212cb0cb6e2cce85188
drm/amd: print error on convert_tiling_flags_to_modifier failure

If this function fails, it means the tiling flags didn't make sense.
This likely indicates a user-space bug. Log the error alongside with the
provided tiling flags to make debugging easier.

Signed-off-by: Simon Ser <contact@emersion.fr>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Harry Wentland <hwentlan@amd.com>
Cc: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Cc: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: Michel Dänzer <michel@daenzer.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c