drm/etnaviv: use drm_debug_enabled() to check for debug categories
authorJani Nikula <jani.nikula@intel.com>
Tue, 24 Sep 2019 12:58:59 +0000 (15:58 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 2 Oct 2019 13:29:16 +0000 (16:29 +0300)
commit6511a945cf7d49357a60d5b7cd37beddc1301335
tree5b335e31c37cc3eac56a6d4df15d834d8005ccd9
parentf0a8f533adc202f7dc83961c85187794eaed9cec
drm/etnaviv: 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: Lucas Stach <l.stach@pengutronix.de>
Cc: Russell King <linux+etnaviv@armlinux.org.uk>
Cc: Christian Gmeiner <christian.gmeiner@gmail.com>
Cc: etnaviv@lists.freedesktop.org
Acked-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/f202f2cdd7c3176649dadeb48a6da4b208e9e829.1569329774.git.jani.nikula@intel.com
drivers/gpu/drm/etnaviv/etnaviv_buffer.c