From patchwork Tue Jun 21 07:56:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 12888794 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8C683C43334 for ; Tue, 21 Jun 2022 07:56:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F2B04112872; Tue, 21 Jun 2022 07:56:55 +0000 (UTC) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6A8C2112877 for ; Tue, 21 Jun 2022 07:56:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655798214; x=1687334214; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=vCVXmWxUrFi6Xr9Wjm6brQnYsJGsIHmC+YmfL9+QGNE=; b=BWaOjZMmPN86ChMlCea71DRT57pFwgphpK7TeCsHUKhvGIzu+e1pBI0v JMDmNaIMWLj8qfDWpET5IlErmUMb6jwFxuYoVIo8F8qIztTmUVT/MQtNf QvujGwuNjElzjj876Hpu111CcinPYk65XqtcawJwVlQmorY71Slw9meUB j/TgJItWBZvBJPBwLcKMdGbyAJwiILnDvq/Gz8kZMCoy6gNQ2LuP5j22v zUSqTJuUpChVtJOKOIo/o5xRkpOqxLEtzCHuBTlpGbTj7WsJxuA3Wh9Cw wxXVzp/rkPnVHjqr3AXMI5X+2burpdgduF+bq1cfZfItB5xE96U4Lj32h g==; X-IronPort-AV: E=McAfee;i="6400,9594,10384"; a="305498631" X-IronPort-AV: E=Sophos;i="5.92,209,1650956400"; d="scan'208";a="305498631" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2022 00:56:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,209,1650956400"; d="scan'208";a="585185903" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.163]) by orsmga007.jf.intel.com with SMTP; 21 Jun 2022 00:56:49 -0700 Received: by stinkbox (sSMTP sendmail emulation); Tue, 21 Jun 2022 10:56:48 +0300 From: Ville Syrjala To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/xlnx: Fix build failure due to missing include Date: Tue, 21 Jun 2022 10:56:48 +0300 Message-Id: <20220621075648.7717-1-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stephen Rothwell , Laurent Pinchart , Hyun Kwon Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ville Syrjälä Dropping drm_blend.h from drm_crtc.h broke the xlnx driver. Make it build again by including drm_blend.h from the driver directly. My .config was missing some required dependencies so I never build tested it :/ Cc: Hyun Kwon Cc: Laurent Pinchart Reported-by: Stephen Rothwell Fixes: 90bb087f6674 ("drm: Drop drm_blend.h from drm_crtc.h") Signed-off-by: Ville Syrjälä Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/xlnx/zynqmp_disp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/xlnx/zynqmp_disp.c b/drivers/gpu/drm/xlnx/zynqmp_disp.c index 11c409cbc88e..cc32aa89cf8f 100644 --- a/drivers/gpu/drm/xlnx/zynqmp_disp.c +++ b/drivers/gpu/drm/xlnx/zynqmp_disp.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include