drm/i915: Fix per-pixel alpha with CCS
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 3 Jun 2019 14:25:00 +0000 (17:25 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 12 Jun 2019 07:42:10 +0000 (10:42 +0300)
commit77ce94dbe586c1a6a26cf021c08109c9ce71b3e0
treeaa749346ec1b084780cb7a7fc288a214630c7260
parent326fb6dd1483c985a6ef47db3fa8788bb99e8b83
drm/i915: Fix per-pixel alpha with CCS

We forgot to set .has_alpha=true for the A+CCS formats when the code
started to consult .has_alpha. This manifests as A+CCS being treated
as X+CCS which means no per-pixel alpha blending. Fix the format
list appropriately.

Cc: stable@vger.kernel.org
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Heinrich Fink <heinrich.fink@daqri.com>
Reported-by: Heinrich Fink <heinrich.fink@daqri.com>
Tested-by: Heinrich Fink <heinrich.fink@daqri.com>
Fixes: b20815255693 ("drm/i915: Add plane alpha blending support, v2.")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190603142500.25680-1-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
(cherry picked from commit 38f300410f3e15b6fec76c8d8baed7111b5ea4e4)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_display.c