summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2019-10-28 14:58:42 +0200
committerChris Wilson <chris@chris-wilson.co.uk>2020-05-15 17:56:58 +0100
commit5ca3ac1a90af177eb111a965e9b4dd8a27cc58fc (patch)
tree710f0f64e80372cce3f8b68b84c12466a9064a77
parent7181c5a41c3f00eaf996caa156523c708a18081e (diff)
downloadxorg-driver-xf86-video-intel-5ca3ac1a90af177eb111a965e9b4dd8a27cc58fc.tar.gz
sna/video/overlay: Declare support for depth 8 and 30
Add 8 and 30 to the list of supported screen depths. The colorkey massaging will be handled by the kernel so we don't have to worry about it unlike with the sprite colorkey uapi. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_video_overlay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/sna_video_overlay.c b/src/sna/sna_video_overlay.c
index 7c7bb483..07964871 100644
--- a/src/sna/sna_video_overlay.c
+++ b/src/sna/sna_video_overlay.c
@@ -57,9 +57,11 @@ static Atom xvGamma0, xvGamma1, xvGamma2, xvGamma3, xvGamma4, xvGamma5;
#define IMAGE_MAX_HEIGHT_LEGACY 1088
static XvFormatRec Formats[] = {
+ { .depth = 8, },
{ .depth = 15, },
{ .depth = 16, },
{ .depth = 24, },
+ { .depth = 30, },
};
static const XvAttributeRec Attributes[] = {