Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp422549rdb; Mon, 15 Jan 2024 01:25:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IEo0JrL9ExSU/lff7r0tcPLbk2ctqIQGjUEkkdnd+mmAnBa5FsZm42ozW2BwWaQFSBEfwaQ X-Received: by 2002:a05:6e02:13e5:b0:35f:fccc:ac7a with SMTP id w5-20020a056e0213e500b0035ffcccac7amr4795676ilj.35.1705310708072; Mon, 15 Jan 2024 01:25:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705310708; cv=none; d=google.com; s=arc-20160816; b=ahy55Arqs7Qc9RDm+HO5fuVWmAB7AkDoiccr3BCs8VAxY1+S8xDc/VIfTAoF3JfYoe f110gPNP8kxemBzQwHFhr+IiB993Vux4GQTQPCcYruHrgsaZYkQyeTb1E6dhRsZGl/tF xCdbWbQwNXOfqnjH+v9mzyWknWh1Ca1wF/UQpKEV85/C6PPk+VYG0CMx85aC2w1eXCQW iVx0X2izo/vFlU0TsSdDQE++LRpFY5ma1REfEhQiOTWgBGTdE4uVNyToWxBtkUknGLQj zdZPAcpBGfH2UBYh7z/azv3MLpddm1i5JWdXHYxUj80xW5X/yaCbQOdqhpSBfhJN010F u//Q== 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=tVtFgKZwIFS1vEBdEVjotaw6JZpTlhG6vAn3dQd7JeU=; fh=VC2pNBDcoqDayB2IeeqOd4JZfaCImHWn9lfCmWsA/H8=; b=Lga3oWwpY9RLzCwNg6aVpdVTp3ueIOFiO2JvPNZrakr3MMOgBKimY9bUUURWMo8L1F 2dfGKxz3UmOcjoV1VzVC1ljqP1bnk1FX2LEh8+TfqZfbgjAwEVgXzMFjZb1GMcdMJyv7 uEsvh6k/cvpa9XH1EMQF+K3sruU2EYU4pAdPm1iBLOfH4vmSb8QyveY93BbkqyAJrfEi 3PhbICdSyf/wbhanLgWOTB6jAW1MqO7VPLq/HjpmebXD3tozkPDUSDkDmL1IDHe9fkig rzKmieFRZbZ3fSkwPkUroTNodZEZjgxnXIb+CnBESfN2vsvmPk0pyCPMSeY3DsbTzOK/ M99g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="C5NXP4d/"; spf=pass (google.com: domain of linux-kernel+bounces-25792-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25792-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id cn8-20020a056a020a8800b005cdfa675225si8752399pgb.833.2024.01.15.01.25.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 01:25:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25792-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="C5NXP4d/"; spf=pass (google.com: domain of linux-kernel+bounces-25792-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25792-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B051D2818AA for ; Mon, 15 Jan 2024 09:25:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 31609F4FA; Mon, 15 Jan 2024 09:25:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="C5NXP4d/" Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D62E7F4E3 for ; Mon, 15 Jan 2024 09:25:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-3368b9bbeb4so7770786f8f.2 for ; Mon, 15 Jan 2024 01:25:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705310700; x=1705915500; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=tVtFgKZwIFS1vEBdEVjotaw6JZpTlhG6vAn3dQd7JeU=; b=C5NXP4d/BvHRsHhH2sMWzrYyZgtQ90qB3jhfY4/fNgOdVYdSC2Tvt2vvpxX9UjHdAI xYOFAwuJomX14wsHPwqEOLHcPXuen0C/acAvOCpZNmueBoKGqAcDWXUW8ch4BTmFXH4i uEIxfxxKqhv0M2MZoCfVTNL6fRD50CaWV1e5SNRyjDFEzwu2jC+TbiuHiz1b2iY7Idzw qdZrSbYgyZz9HuP3jfKYRJ2Id6jMlSdPeP6VYJewA2uZHXxP5PItFOUbYNXadew5oXPB Cw2en4IYdNu2snEo6iS+R5BPWcYMbL6oUrxQkDfvNG7c340pRdusbGaokn0ZPgitmSns e6hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705310700; x=1705915500; 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=tVtFgKZwIFS1vEBdEVjotaw6JZpTlhG6vAn3dQd7JeU=; b=BBaijaVolFfFnbaP2CbfqZuMeRQ0fspuTSUDcrOwTnZ08oXksgjFM/hKC2SH/enkTb 8U7Oq/nCFUNDpb9fYEoMtSY6AezHvev9KwnV2X5ygdsGnNJAcSYaCZby/4uzuB+3vnbl /OcIB5AHgNrIgDJbyzCvkJt5kZJKPVcKijrVdA5MkobJSIkBl7kjh2RPDAvNO7tN2tMZ i+POj9csYzzKy2U3FPxlIgVHAdaak5WvA8gogi7HwyJxj+4HymRa+gnbzru9k04KhIzY wzJyKKH0FkhrolNKSj8HUMX3WIOM//PRebOTtMeev03zTtGJe444b0cEpWI3xnCAD7ZS MGAw== X-Gm-Message-State: AOJu0Yzz7g65IBoArO29TWk+f+EClif85kiGI7/AI+LTGY+zQIA3P17v UxUV4HkLa7LpGb9aLc/5bg== X-Received: by 2002:a5d:50d0:0:b0:337:99fb:ce2e with SMTP id f16-20020a5d50d0000000b0033799fbce2emr1306430wrt.209.1705310699743; Mon, 15 Jan 2024 01:24:59 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:702c:8d99:9a73:8e9d]) by smtp.gmail.com with ESMTPSA id c18-20020a5d4cd2000000b0033740e109adsm11325864wrt.75.2024.01.15.01.24.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 01:24:59 -0800 (PST) From: Alex Bee To: Sandy Huang , =?UTF-8?q?Heiko=20St=C3=BCbner?= , Andy Yan , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann Cc: David Airlie , Daniel Vetter , Alex Bee , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, kernel test robot Subject: [PATCH] drm/rockchip: inno_hdmi: Explicitly include drm_atomic.h Date: Mon, 15 Jan 2024 10:24:35 +0100 Message-ID: <20240115092434.41695-2-knaerzche@gmail.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 Commit d3e040f450ec ("drm/rockchip: inno_hdmi: Get rid of mode_set") started using drm_atomic_get_new_connector_state and drm_atomic_get_new_crtc_state which are defined in drm_atomic.h Building does currently only work if CONFIG_OF and CONFIG_DRM_PANEL_BRIDGE are enabled since this will include drm_atomic.h via drm_bridge.h (see drm_of.h). Explicitly include drm_atomic.h in inno_hdmi.c to fix this. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202401100949.ZVRr0pIa-lkp@intel.com/ Closes: https://lore.kernel.org/oe-kbuild-all/202401081720.UtgAZgba-lkp@intel.com/ Fixes: d3e040f450ec ("drm/rockchip: inno_hdmi: Get rid of mode_set") Signed-off-by: Alex Bee --- drivers/gpu/drm/rockchip/inno_hdmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rockchip/inno_hdmi.c b/drivers/gpu/drm/rockchip/inno_hdmi.c index 925320fef0a8..3bb8f1382612 100644 --- a/drivers/gpu/drm/rockchip/inno_hdmi.c +++ b/drivers/gpu/drm/rockchip/inno_hdmi.c @@ -15,6 +15,7 @@ #include #include +#include #include #include #include -- 2.43.0