]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Unify the TypeC port notation in debug/error messages
authorImre Deak <imre.deak@intel.com>
Fri, 28 Jun 2019 14:36:20 +0000 (17:36 +0300)
committerImre Deak <imre.deak@intel.com>
Mon, 1 Jul 2019 11:50:08 +0000 (14:50 +0300)
commit17439bf2f624212d7c29986f69b631a94aec7cfe
treef59a19e70e0ab8859736f5daf505aaa403bfcc73
parentc44f7a1c698d06d2276806eb11e05a8ee5c51b00
drm/i915: Unify the TypeC port notation in debug/error messages

Unify the TypeC port notation in log messages, so that it matches the
spec. For instance the first ICL TypeC port will read as 'Port C/TC#1'.

v2:
- Format print the name only once. (José)

Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190628143635.22066-9-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_tc.c
drivers/gpu/drm/i915/display/intel_tc.h
drivers/gpu/drm/i915/intel_drv.h