summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-eic-sprd.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2022-10-26 14:39:05 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2022-11-03 18:16:18 +0200
commit9034f9c4e284138d5e5646b89285d7a89b840f5e (patch)
tree143bab39818dfbe87b643b2bbcb66b9a6fa66e09 /drivers/gpio/gpio-eic-sprd.c
parent4c0119dd0a7728456a2394c1bc0aa612e1f2c3cb (diff)
drm/i915: Share {csc,gamma}_enable calculation for ilk/snb vs. ivb+
ilk/snb vs. ivb+ hardware is mostly identical except for the addition of the split gamma mode on ivb. Thus we can share the csc_enable and gamma_enable calculation for both variants. Pull that stuff into a few helpers. Note that this also fills in the missing ctm/degamma stuff into ilk_color_check() pretty much, so for good measure let's also add a few extra checks relating to that, although we still don't expose ctm/degamma to userspace. But now it'll be trivial to do so if we wish. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221026113906.10551-11-ville.syrjala@linux.intel.com Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Diffstat (limited to 'drivers/gpio/gpio-eic-sprd.c')
0 files changed, 0 insertions, 0 deletions