Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1542516rdd; Thu, 11 Jan 2024 02:15:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IHRT2DgZFN+VHwqzkP1s607pmEXciGCJvDVzmANHaJqPtLotKP1ZzCLa3rSdrxhDDsZfpJR X-Received: by 2002:a17:903:2786:b0:1d0:8dc3:9149 with SMTP id jw6-20020a170903278600b001d08dc39149mr1023372plb.72.1704968155367; Thu, 11 Jan 2024 02:15:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704968155; cv=none; d=google.com; s=arc-20160816; b=XbV1ma8h9cBcy9utkN9G91pYwvT6Kt5qdhhqux9as6+1UAzx4y4N0GAv+yIC8Gx+Z1 JvFvnePXvx7FlJ+kwgfe8umKRghpRUQ7f/K86umgMbOyoekqFaq6WPqu3g272MnacJPp GU3H0pki0ZW2m/Xh1AXQ49IoORZtrZVR0lnOWD+z0hs4C721JTna5GiMKvChXve9NVgv 9uatPiXx0xktyPb7XZ6iqNOhzBIkFGfQoeBimUtoN1LbJQvYe8AyTU0owVthsaZtKx/n kUBEMCsYeJuLQ9WD9wQI0HnmB20zbYanGQJHVJ/dxxoTL25ecIyVvz96ZUkc25iTertK 4HXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=N/UoCwqwLqGcoRY403M5K9c8YGwWXRlfn//t7u6wv2s=; fh=g22iwF/tQ7KEyU2Eaaz93BAqdBRzkhxRXDKkS7gYmyw=; b=I2GVSfFdrxJ9FqlxL8jYKjk3ULt2Ydwm05e5tazxFGyIbxBk9grmj3iEWeWeogRcY4 xbnTr/Fmz/wg4T0EG65wSjN6qZeqbrXbJPIEOwKqDd3opUF7wyChlpCbTSVLDOJtK0kV CEb9awISHbxTLke4LQuf96rTZkiCiBeD/F+Wy7Fq023WqDuVR1SOT8ac1XFvEP3J/qZh 7W8j9mATm4heJHO/0Z0E/lTs7IpaUqH/7r140DsBRpx/0U3Gh/RXzZIMgxZpNAQZ4RaA AmkyE0TcGKje0Ofpr+4Rchz7lrQ+fp3+PlwpinY6bIaQ8nh7jxEJ/BjugZKZ3CCefYy6 BfgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=M2GRHbs2; spf=pass (google.com: domain of linux-kernel+bounces-23368-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23368-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id c13-20020a170902c1cd00b001d34798ca50si750014plc.615.2024.01.11.02.15.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 02:15:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23368-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=M2GRHbs2; spf=pass (google.com: domain of linux-kernel+bounces-23368-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23368-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id AD9D4B2384E for ; Thu, 11 Jan 2024 10:15:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 995E21428F; Thu, 11 Jan 2024 10:14:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="M2GRHbs2" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5A60612E79 for ; Thu, 11 Jan 2024 10:14:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1704968089; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=N/UoCwqwLqGcoRY403M5K9c8YGwWXRlfn//t7u6wv2s=; b=M2GRHbs2JnzzBtD5OLnJT2GgqKWAr93c/SR3CxLSlO/KvN9uEndY8nWOAJGPReHGkbjMFu SJFYIdpM6bdbI9pvWslnCxbgxqrNg3kFy0K9M8/rD9jZ7hNwT/ermCJ9smzlesz+1r47+9 uXa92eMZHf0Xa1vkHwKh/LtqHknFSFQ= Received: from mail-oi1-f200.google.com (mail-oi1-f200.google.com [209.85.167.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-551-qDOqVlY4N-uUCEladh4b8g-1; Thu, 11 Jan 2024 05:14:47 -0500 X-MC-Unique: qDOqVlY4N-uUCEladh4b8g-1 Received: by mail-oi1-f200.google.com with SMTP id 5614622812f47-3bbbfe871afso1302715b6e.1 for ; Thu, 11 Jan 2024 02:14:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704968087; x=1705572887; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=N/UoCwqwLqGcoRY403M5K9c8YGwWXRlfn//t7u6wv2s=; b=ecX//NOZhuyBRM7IH1gCLirq2u+e65dk9IDrqNM+IjBP8RweRG7RmP+cPaEeekdzA6 qvYquIoIc/LsH6jkr8NstKAIMSuaKA5nygFG1cR1aWizqAo0MC45uqQtMHEnRSVo1gKD LjbfVtZ1feNP2blyDAV2RsYQdY+If8Ulaigiyg0TemhYitKmU5Zj51pS+svk2JywOnFU coK8eHMKVMTDZSfi6TK63+dVGrkDFMUPE1mtjYchKpx3CuRzTcvunUj+/G/1UIhH/Vf0 3ENaD2V8Zj0WwiDMVW+KpKFsFAkYGcgpJStH38yKnspFQjWtCGW3WQsf205avBrEqbrm n1Uw== X-Gm-Message-State: AOJu0Yx5Kir4v+PnAHHJzbQUPFdgUThDgTZ1OLqa5xaXBIm05d6pYM1r stNyUd0jBQXutU492FkwFM4oKZvlRaOwz3mvnVuRbaVRw5nFxv1Lmn1H0er3xRNE5zhVouN7Kds /r9URb7xkoxxplY61Lt+Ij0tqaq6VtHQo X-Received: by 2002:a54:4415:0:b0:3bd:44ea:a6a9 with SMTP id k21-20020a544415000000b003bd44eaa6a9mr1768448oiw.4.1704968087197; Thu, 11 Jan 2024 02:14:47 -0800 (PST) X-Received: by 2002:a54:4415:0:b0:3bd:44ea:a6a9 with SMTP id k21-20020a544415000000b003bd44eaa6a9mr1768436oiw.4.1704968086951; Thu, 11 Jan 2024 02:14:46 -0800 (PST) Received: from pstanner-thinkpadt14sgen1.muc.redhat.com (nat-pool-muc-t.redhat.com. [149.14.88.26]) by smtp.gmail.com with ESMTPSA id eo7-20020a05622a544700b0042993549c3asm313237qtb.32.2024.01.11.02.14.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 02:14:46 -0800 (PST) From: Philipp Stanner To: Laurentiu Palcu , Lucas Stach , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: NXP Linux Team , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Philipp Stanner Subject: [PATCH v3 0/2] drm/imx/dcss: implement region request and devres Date: Thu, 11 Jan 2024 11:13:45 +0100 Message-ID: <20240111101346.15193-2-pstanner@redhat.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit OK, I messed up the ARM64 build. That's what you get for living on x86 for years and decades. Mea culpa. Should work now. -- Changes in v3: - Fix build errors (missing variable, forgotten remove to call of deleted function) Changes in v2: - Add the region-request to this patch-series. That was previously a separate patch. dcss currently does not request its memory resource. This series adds that request with devres. As we're at it, it also ports all the ioremaps and associated allocations to devres. I can build this, but I don't have the hardware available to test it. So you might want to have a closer look. P. Philipp Stanner (2): drm/imx/dcss: request memory region drm/imx/dcss: have all init functions use devres drivers/gpu/drm/imx/dcss/dcss-blkctl.c | 14 +++----------- drivers/gpu/drm/imx/dcss/dcss-ctxld.c | 15 ++++----------- drivers/gpu/drm/imx/dcss/dcss-dev.c | 19 +++++++++---------- drivers/gpu/drm/imx/dcss/dcss-dev.h | 1 - drivers/gpu/drm/imx/dcss/dcss-dpr.c | 25 ++++++------------------- drivers/gpu/drm/imx/dcss/dcss-drv.c | 12 +++--------- drivers/gpu/drm/imx/dcss/dcss-dtg.c | 23 ++++------------------- drivers/gpu/drm/imx/dcss/dcss-scaler.c | 24 +++++------------------- drivers/gpu/drm/imx/dcss/dcss-ss.c | 11 +++-------- 9 files changed, 37 insertions(+), 107 deletions(-) -- 2.43.0