lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1497518653-2788-1-git-send-email-peda@lysator.liu.se>
Date:   Thu, 15 Jun 2017 11:24:13 +0200
From:   Peter Rosin <peda@...ator.liu.se>
To:     linux-kernel@...r.kernel.org
Cc:     Peter Rosin <peda@...ntia.se>,
        Boris Brezillon <boris.brezillon@...e-electrons.com>,
        David Airlie <airlied@...ux.ie>,
        dri-devel@...ts.freedesktop.org
Subject: [PATCH] drm: atmel-hlcdc: sama5d4 does not have overlay2

From: Peter Rosin <peda@...ntia.se>

Remove the layer.

Fixes: 5b9fb5e6c6c7 ("drm: atmel-hlcdc: add support for sama5d4 SoCs")
Signed-off-by: Peter Rosin <peda@...ntia.se>
---
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 20 +-------------------
 1 file changed, 1 insertion(+), 19 deletions(-)

diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
index 30dbffd..888524a 100644
--- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
+++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
@@ -295,28 +295,10 @@ static const struct atmel_hlcdc_layer_desc atmel_hlcdc_sama5d4_layers[] = {
 		},
 	},
 	{
-		.name = "overlay2",
-		.formats = &atmel_hlcdc_plane_rgb_formats,
-		.regs_offset = 0x240,
-		.id = 2,
-		.type = ATMEL_HLCDC_OVERLAY_LAYER,
-		.cfgs_offset = 0x2c,
-		.layout = {
-			.pos = 2,
-			.size = 3,
-			.xstride = { 4 },
-			.pstride = { 5 },
-			.default_color = 6,
-			.chroma_key = 7,
-			.chroma_key_mask = 8,
-			.general_config = 9,
-		},
-	},
-	{
 		.name = "high-end-overlay",
 		.formats = &atmel_hlcdc_plane_rgb_and_yuv_formats,
 		.regs_offset = 0x340,
-		.id = 3,
+		.id = 2,
 		.type = ATMEL_HLCDC_OVERLAY_LAYER,
 		.cfgs_offset = 0x4c,
 		.layout = {
-- 
2.1.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ