Commit 5ca3ac1a authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Chris Wilson

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ä's avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
parent 7181c5a4
......@@ -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[] = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment