Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp279406pxa; Wed, 12 Aug 2020 01:32:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQhxx56Ax0pd+EyyLkg+BwAo8zRPmYjfpcRQz3MotmXzvPm7fwkQKT4wCZxJPvUZKIVSw8 X-Received: by 2002:a17:906:36d7:: with SMTP id b23mr29817341ejc.149.1597221175482; Wed, 12 Aug 2020 01:32:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597221175; cv=none; d=google.com; s=arc-20160816; b=idzIg1PDjy0ol5DIEH+In0JPjkzNfpXmYGzjyNzQum2Uh6EsqOG983cHajrLICHdWv deFP5Q8QRC/1X31NpQ0elRt14EUYaG8/jFUCjeV1Eu11OUvepgTFB1C9fJjD0BOtatNC wQwx9Dt26C8ZI8pqpXhbmhHXRnZImUNU6ToDL17oMSOXwLUJXV/eh/2ro8AWKR2I11Ld Z+8T1Ttw3AtkeonU4i7fxFnftu928yHkdR/huqtcD2HyPuxpx4DflteazCOTy4wQb8GT xoxcPZC2A7KeffTWckT0CJbDquG05UU/GoSI7yx6fzZqm9PRMhNQagVw01g1RrBjc82Q OfZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:to:from; bh=mFK9KmJBLvYUpOLHeJNnPQiCD3+UELaYInvv84+V/pU=; b=INWm4XM7rzkZGliE6SkbFoUlZmSI0lT10WbUfy9YRWgJHxwRJLKAcIGnuTeLetq/di BoM3WWxFpMQ6EKb1BUTTFcnXfjAaLmQ2Se93HY/ZOwWo2YhKgzFitJGUsVXP7U4hkoA1 FiQFJHAqHOJkinYfzdt7NUvo2ZP30gWCFUNUdI3IJuCI/My1N7K4DpUqMIvtIDveXBTy BjyJknmBoJgBXKNa77Eljg8FQo64csNN81s/hexpVxWI1c7h96A2UXy13diEiDd280i/ t7oTe0higY9Q4DoCfLF7shyOe3rz3OriMA43mcLCq6wrMdSjsQByX0/uvor+z5edY2Jf u9mg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b12si794039eds.283.2020.08.12.01.32.32; Wed, 12 Aug 2020 01:32:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726601AbgHLIbn (ORCPT + 99 others); Wed, 12 Aug 2020 04:31:43 -0400 Received: from lucky1.263xmail.com ([211.157.147.135]:55544 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726264AbgHLIbm (ORCPT ); Wed, 12 Aug 2020 04:31:42 -0400 Received: from localhost (unknown [192.168.167.32]) by lucky1.263xmail.com (Postfix) with ESMTP id 684A1A1B42; Wed, 12 Aug 2020 16:31:35 +0800 (CST) X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-ADDR-CHECKED: 0 X-ANTISPAM-LEVEL: 2 X-ABS-CHECKED: 0 Received: from localhost.localdomain (unknown [103.29.142.67]) by smtp.263.net (postfix) whith ESMTP id P37123T139693005121280S1597221089119037_; Wed, 12 Aug 2020 16:31:34 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: X-RL-SENDER: algea.cao@rock-chips.com X-SENDER: algea.cao@rock-chips.com X-LOGIN-NAME: algea.cao@rock-chips.com X-FST-TO: a.hajda@samsung.com X-SENDER-IP: 103.29.142.67 X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 X-System-Flag: 0 From: Algea Cao To: a.hajda@samsung.com, kuankuan.y@gmail.com, hjc@rock-chips.com, tzimmermann@suse.de, dri-devel@lists.freedesktop.org, sam@ravnborg.org, airlied@linux.ie, heiko@sntech.de, jernej.skrabec@siol.net, algea.cao@rock-chips.com, Laurent.pinchart@ideasonboard.com, laurent.pinchart+renesas@ideasonboard.com, jonas@kwiboo.se, mripard@kernel.org, darekm@google.com, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, cychiang@chromium.org, linux-kernel@vger.kernel.org, narmstrong@baylibre.com, jbrunet@baylibre.com, maarten.lankhorst@linux.intel.com, daniel@ffwll.ch Subject: [PATCH 0/6] Support change dw-hdmi output color Date: Wed, 12 Aug 2020 16:31:20 +0800 Message-Id: <20200812083120.743-1-algea.cao@rock-chips.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Support userspace to set hdmi output color via hdmi properties. Add hdmi atomic_begin/atomic_flush to make sure screen don't flash when updating color. Algea Cao (6): drm: Add connector atomic_begin/atomic_flush drm: bridge: dw-hdmi: Implement connector atomic_begin/atomic_flush drm: bridge: dw-hdmi: Introduce previous_pixelclock/previous_tmdsclock drm/rockchip: dw_hdmi: Add vendor hdmi properties drm/rockchip: dw_hdmi: Add get_output_bus_format drm: bridge: dw-hdmi: Get output bus format when dw-hdmi is the only bridge drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 123 ++++++++++- drivers/gpu/drm/bridge/synopsys/dw-hdmi.h | 4 + drivers/gpu/drm/drm_atomic_helper.c | 46 ++++ drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 221 ++++++++++++++++++++ include/drm/bridge/dw_hdmi.h | 23 ++ include/drm/drm_modeset_helper_vtables.h | 19 ++ 6 files changed, 428 insertions(+), 8 deletions(-) -- 2.25.1