Received: by 10.223.164.202 with SMTP id h10csp220027wrb; Mon, 13 Nov 2017 05:29:06 -0800 (PST) X-Google-Smtp-Source: AGs4zMZIaCPWl6IdYSKLwNROBYUeVgTK8RDz7fYoxGcFtpvtAqB/lPy1XEk7RzYUXovR6i43ES7n X-Received: by 10.84.215.131 with SMTP id l3mr44709pli.181.1510579746195; Mon, 13 Nov 2017 05:29:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510579746; cv=none; d=google.com; s=arc-20160816; b=Txvd6dpQotFA4W5LPrF/JG4mrcN8kZt/O52fMeBEXP8ArBHBFHOR2789o9p3qdKGH4 CuE0CvjxRMigOkHBIGzAf2mawuMsRI5MTfWxJzgaZ8oU4BhGzJyg02AMehxkPxEy9R5w CJmhYj1QdbbkQMD/+d0h6a/RcfCUtXvdh/XsDeaYvJCrkUMmc9Sf0FHT/CVV8/9qHaXl cY113Gp2M+s4Iy4PxIww+Ab7E+s3uw3I9c67F0ZfZcbpE5On1+dr2K+RZFHmSNtkzxaP 18NFi671wgQEN5yZQMVKEt6AtrSkwSsZhAmYvl7LZrQenfNmFvTl85RXsOzm0lcxtKZw Z7ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=8WFD5PtkSwX+P9hW5AOMtWpzv/jV6IGyGE+wP8GCdo4=; b=vvvfd3TOIVaVvWSrOPBknF+NHNAgLHkTMcUqDtvqqrM6SKehgzRNahOhcOSScjMvUT VyA2Khu+mKBuE7mEwbNIz1AdnORh0MbSbBgXXLJAlJ8POZdGnVpq0a4I7m+3R3khkmWi 3/mfcLOr3j7f6gyUV9M3Wtzeft7sBdkJ+9LfdWZCOa1J0ylRbHHyfldS3d7lGioXvzYp j5Wg2QZHix+Tf9qV7u7j8BXDnMls5eG5d7+BCAX+hIatYVFyTMhkDPec2w7frHdXNzPe H1FhZ9IPuaF1b6Qo2YoEoa30+fM2HOePdtySV8Bqx2MwFA6ICJ0PgigM2+fOGlFK41XU YuOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n7si13886190pgq.39.2017.11.13.05.28.53; Mon, 13 Nov 2017 05:29:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754147AbdKMM7y (ORCPT + 95 others); Mon, 13 Nov 2017 07:59:54 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:49838 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754120AbdKMM7w (ORCPT ); Mon, 13 Nov 2017 07:59:52 -0500 Received: from localhost (LFbn-1-12253-150.w90-92.abo.wanadoo.fr [90.92.67.150]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 70BBFAA6; Mon, 13 Nov 2017 12:59:51 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mihail Atanassov , Liviu Dudau , Sasha Levin Subject: [PATCH 4.9 20/87] drm: mali-dp: fix Lx_CONTROL register fields clobber Date: Mon, 13 Nov 2017 13:55:37 +0100 Message-Id: <20171113125617.194110312@linuxfoundation.org> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171113125615.304035578@linuxfoundation.org> References: <20171113125615.304035578@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Mihail Atanassov [ Upstream commit c7ffa59cf03c38b91d6ef01e42c1b52fd7a4f285 ] When updating the rotation fields, one of the assignments zeroes out the rest of the register fields, which include settings for chroma siting, inverse gamma, AMBA AXI caching, and alpha blending. Signed-off-by: Mihail Atanassov Signed-off-by: Liviu Dudau Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/arm/malidp_planes.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/gpu/drm/arm/malidp_planes.c +++ b/drivers/gpu/drm/arm/malidp_planes.c @@ -182,7 +182,8 @@ static void malidp_de_plane_update(struc /* setup the rotation and axis flip bits */ if (plane->state->rotation & DRM_ROTATE_MASK) - val = ilog2(plane->state->rotation & DRM_ROTATE_MASK) << LAYER_ROT_OFFSET; + val |= ilog2(plane->state->rotation & DRM_ROTATE_MASK) << + LAYER_ROT_OFFSET; if (plane->state->rotation & DRM_REFLECT_X) val |= LAYER_H_FLIP; if (plane->state->rotation & DRM_REFLECT_Y) From 1583962755772955041@xxx Mon Nov 13 14:49:58 +0000 2017 X-GM-THRID: 1583962755772955041 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread