]> 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)
commitce3ea4ceca31d1158a92488eaf4203a17a011af9
treef59a19e70e0ab8859736f5daf505aaa403bfcc73
parent071e855c22a02a9ef06a6367d63dc9632d3f8dfb
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