drm/amd/display: Use uint64_t logger_mask instead of uint32_t
authorDavid Galiffi <David.Galiffi@amd.com>
Tue, 21 Jan 2020 21:29:52 +0000 (16:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Feb 2020 20:04:38 +0000 (15:04 -0500)
commit04ad71bd146b735972134ab53540ab7955b4d1c2
tree15dbff0428b702bed1a2b03bd850c18fa14b890d
parentc788739b8807a54b4f445f2c2854d37b61db49c2
drm/amd/display: Use uint64_t logger_mask instead of uint32_t

[WHY]
enum dc_log_type has more than 32 entries. User cannot set larger entries,
like LOG_DSC. Logs from LOG_GAMMA_DEBUG where being printed even though
flag was not enabled, because dal_logger_should_log check erroneously
passed.

[HOW]
Change struct dal_logger.mask and struct dc_init_data.mask to uint64_t.

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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/dc.h