]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Introduce has_buf_trans_select()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 1 Oct 2021 13:00:59 +0000 (16:00 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 4 Oct 2021 09:42:39 +0000 (12:42 +0300)
commit06827ddcb57e0488876143c667ee7b41221aaa27
tree09cd1d5f4e2e83968a4b14cad16d9d7669766044
parent1758eb9d98ac44b5c9d3b0b2779e3834bba2376e
drm/i915: Introduce has_buf_trans_select()

Add a small helper to determine if DDI_BUF_CTL uses the
DDI_BUF_TRANS_SELECT field, and whether we have the
accompanying DDI_BUF_TRANS table in the hardware.

Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211001130107.1746-3-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/display/intel_ddi.c