drm/i915: Return the mask of enabled infoframes from ->inforame_enabled()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 25 Feb 2019 17:40:59 +0000 (19:40 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 26 Feb 2019 17:54:48 +0000 (19:54 +0200)
commit509efa2b54976dc23159b0578585db00c8e6362e
treeb901942c117eefc334802d61d1008aeef85d4227
parent5cb3c1a123fc337016ad95e1021dc4ccfefb494e
drm/i915: Return the mask of enabled infoframes from ->inforame_enabled()

We want to start tracking which infoframes are enabled, so let's replace
the boolean flag with a bitmask.

We'll abstract the bitmask so that it's not platform dependent. That
will allow us to examine the bitmask later in platform independent code.

v2: Don't map VIDEO_DIP_ENABLE to the null packet (Daniel)
    Put a FIXME in the lspcon function

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190225174106.2163-3-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_hdmi.c
drivers/gpu/drm/i915/intel_lspcon.c