Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp782552imm; Tue, 15 May 2018 09:06:27 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpXQ2IF/NCT44IHvuTpgKmSmCzpw7W9d5ylw4yJSNcYQ8GIjwj9t6J3sjjhSOPNpGdPR/WG X-Received: by 2002:a63:18a:: with SMTP id 132-v6mr11353328pgb.344.1526400387178; Tue, 15 May 2018 09:06:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526400387; cv=none; d=google.com; s=arc-20160816; b=ftkevcLJgd2leoTO1GfbopNyqhxZiwtnfOwgB5uHAA+Fhxi1IJoV6lzd9dhFowQaQU EeVmEw6OYFUidDiKmw7+s2hdnMkug8mqP1BFKtu3w5oGYFTwxwzE0pEB2M6XaL0DUiLO DUEFSgqxbxkkY5zHRZPtJmWsDRLQ/FyY6E4yuri1nP2KBCKkjR3KFglFoZBey4a6SrSQ XxufHNgxteILwID/JmkegU1+o8drcMgrHNHS3fYwHE//o6BLcfvhGaroHSXoiaFD5Oa5 cSosRQFVr8ja7tbj0Z+TN6oKqDujVmbN4xjmyhLr+u7DJOlaeD413qM0ODlX0iv/Olkd 3sBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:nodisclaimer:mime-version:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=W+xcnftQxuKZBYlJxX0YE+ftvq5N91LkcUH1vdMIsBA=; b=N0LLZk8hsAJpr7WvDiQVUKXDla0gm1lU7D0HfhiYZMiAp5crJZw4QxoOXKCQ1e8bRS lshEyfoY016Jd0kIoVnbitTtxwjyfUDW2PrcWRPG8ms57mnB1sKCXXlK5pC3wfuK1jrc AYtIETmireNvzw09fqS2yO6X3ll5Wd5aWPbyCEdxi6dEvlW+X6ZhoaLb/s8qrVDd/ANd C0cSF9p8IHEVCWaBqSgkL48CJQG6TmUVNN6IHfQXLFf6fZpz+G1y+jDpUvTqrSXbmJne hNsTybNOoWkqCsbJEtwYYIVuMEdC5Lo27yii09uk2N1mrvI1tfIjcTiplcRM/xKn4lDh Ml3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=OL1vsfco; 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 w73-v6si342310pfd.19.2018.05.15.09.06.12; Tue, 15 May 2018 09:06:27 -0700 (PDT) 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; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=OL1vsfco; 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 S1753117AbeEOQEe (ORCPT + 99 others); Tue, 15 May 2018 12:04:34 -0400 Received: from mail-he1eur01on0054.outbound.protection.outlook.com ([104.47.0.54]:19657 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752453AbeEOQEc (ORCPT ); Tue, 15 May 2018 12:04:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=W+xcnftQxuKZBYlJxX0YE+ftvq5N91LkcUH1vdMIsBA=; b=OL1vsfcoqYsxQzq8rYC9HJNs3yeOgSUD2cu+uHhPI2qju1M7n/z+Ee1Sba1LGzFaJUGG6uvfPRV3eonnA8jKHamv6tue5IAAWG23wdHGoA6Hq3t93+fuE5a/LidtORULP/jdoV6Y0xlXJvVtbQKmzHjMKWx0WA3ScyXj/xEzXBg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Ayan.Halder@arm.com; Received: from e113505-lin.cambridge.arm.com (217.140.96.140) by AM6PR08MB3029.eurprd08.prod.outlook.com (2603:10a6:209:45::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.755.16; Tue, 15 May 2018 16:04:29 +0000 From: Ayan Kumar Halder To: ayan.halder@arm.com, liviu.dudau@arm.com, brian.starkey@arm.com, malidp@foss.arm.com, airlied@linux.ie, dri-devel@lists.freedesktop.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: nd@arm.com Subject: [PATCH v3 0/5] Enhance support for system and runtime power management on malidp. Date: Tue, 15 May 2018 17:04:14 +0100 Message-Id: <1526400259-7573-1-git-send-email-ayan.halder@arm.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [217.140.96.140] X-ClientProxiedBy: LNXP265CA0095.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:76::35) To AM6PR08MB3029.eurprd08.prod.outlook.com (2603:10a6:209:45::10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(48565401081)(2017052603328)(7153060)(7193020);SRVR:AM6PR08MB3029; X-Microsoft-Exchange-Diagnostics: 1;AM6PR08MB3029;3:GcXues/nvdBrnMIOOhZhruMHEquiY60ulAmUXBfKcILBdL09LNpVxUddbuKCyGsBHIzRc8yw8hCEhXpxM4N900vno5TbVUgKQaos80eAqe+xFrnQsRyUooR1+aRnzTpxq/tWMgrfGu74adYL2SpUdEgqjdmYexEFbImybq8Ldz1aRHDNZDgoRDVW+rrSZfkA5Gql/nXD68bSA3W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/8CNAOUfkU7n/g/+vsCOA/qXh31zqldc0g/PO2xorSt1pf3zNeCc05vLKZHoOjDHNct6uvpc+1LnvydVm1KwflDLxNKnp3QepDDRJMuaEpSXvrzvJHDSrK/6xGiJkfhr4l2cWdWZtqh004CJybQAnCklA2lcI0EW1YHUFZQoOaWfqC5WcWqIATQXLj7gn5gcwzZRAq/ILZhlwcPXp4cABneBiPcmj X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231254)(944501410)(52105095)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123558120)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:AM6PR08MB3029;BCL:0;PCL:0;RULEID:;SRVR:AM6PR08MB3029; X-Forefront-PRVS: 0673F5BE31 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(39380400002)(376002)(39860400002)(396003)(346002)(366004)(199004)(189003)(3846002)(16526019)(68736007)(53936002)(5660300001)(8936002)(2906002)(50226002)(86362001)(52116002)(26005)(7696005)(51416003)(6116002)(386003)(2616005)(316002)(476003)(16586007)(81156014)(106356001)(105586002)(97736004)(81166006)(6666003)(956004)(486006)(478600001)(50466002)(6486002)(305945005)(48376002)(4326008)(7736002)(25786009)(47776003)(66066001)(36756003)(72206003)(8676002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR08MB3029;H:e113505-lin.cambridge.arm.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;AM6PR08MB3029;23:+eIzt8iB1q2teUIgrJ8ORV2UtEXJpx8f8i+KOxvrS?=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9TC4kIpuIpURPQnZjd3ucV74P5DFeNIljpur7E6Q383LMxVKaAQRRtk7/U=;24:Wn8sejdxi+GfUPEfiF6ut2xLh7b2YzWGXJkeRLw00lqp1OYkYjg4yTsMi6jW9gREAAIkQ5mPBIAgCnsKDmwd7Nb64et73Vv8+eUras8CYs0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;AM6PR08MB3029;7:AV/lzinNTd9nad0IjRq4b/we5k6d//fJimlXXScmO+wLpCBrVqVhtllPq36ZHapzWREq+mxXh8u3Ia656w3DISO6t+9XL39W9j6NmJpnOllnexjbFMh56Uyua3ofkiVVqGB6XzZ8WuLaKdhdFi1EXCoJRg7QW/kID0rsdwTQJ/hytcpTV38FhIERARETAV8UmOXj6zUjVfTTmLFc9OwnOk+d5lAkufe21DXWVkRoSBVPWWKaAPX/MUvljUY4Pusi X-MS-Office365-Filtering-Correlation-Id: 53a91808-d8ed-45c8-ae4d-08d5ba7d8a21 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2018 16:04:29.1747 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 53a91808-d8ed-45c8-ae4d-08d5ba7d8a21 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3029 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series enhances and fixes certain issues relevant to system and runtime power management on malidp. --- Changes in v3: - Squashed some commits. - Fixed an issue related to writeback. Reported-by: Alexandru-Cosmin Gheorghe Changes in v2: - Removed the change ids and modified some commit messages --- Ayan Kumar Halder (5): drm/arm/malidp: Modified the prototype of malidp irq de-initializers drm/arm/malidp: Split malidp interrupt initialization functions. drm/arm/malidp: Enable/disable interrupts in runtime pm drm/arm/malidp: Set the output_depth register in modeset drm/arm/malidp: Added the late system pm functions drivers/gpu/drm/arm/malidp_drv.c | 35 +++++++++++++++++++++++---- drivers/gpu/drm/arm/malidp_hw.c | 52 +++++++++++++++++++++++++++------------- drivers/gpu/drm/arm/malidp_hw.h | 7 ++++-- 3 files changed, 70 insertions(+), 24 deletions(-) -- 2.7.4