drm/amdgpu: use drm_debug_enabled() to check for debug categories
authorJani Nikula <jani.nikula@intel.com>
Mon, 28 Oct 2019 10:38:17 +0000 (12:38 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 14 Nov 2019 12:08:39 +0000 (14:08 +0200)
commitf139a62c7a8fe27d533c6522574f90964f059f3e
treed1a8bb112c19a99b3199df049c32ebd40af804ab
parent4f632fb23583b9ba598be879436bd555c7da5f3b
drm/amdgpu: use drm_debug_enabled() to check for debug categories

Allow better abstraction of the drm_debug global variable in the
future. No functional changes.

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: David (ChunMing) Zhou <David1.Zhou@amd.com>
Cc: amd-gfx@lists.freedesktop.org
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Acked-by: Sean Paul <sean@poorly.run>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/e30ddbd627be1fe1c67dd007e0d36f81a094bc91.1572258936.git.jani.nikula@intel.com
drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c