OSDN Git Service

drm/i915: Unify the sanity checks for the buf trans tables
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 7 Dec 2020 20:35:12 +0000 (22:35 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 21 Jan 2021 19:29:56 +0000 (21:29 +0200)
commit85da029264e83dbf1ce2f603525b0a281942c3fc
treeb1442169b080f69e6d5f8dfa26704489a186e313
parent5ec346476e795089b7dac8ab9dcee30c8d80ad84
drm/i915: Unify the sanity checks for the buf trans tables

Get rid of the "I like my random new style best" approach and unify
the handling for the DDI buf trans table sanity checks once again.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201207203512.1718-2-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/display/intel_ddi.c