Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2758219rwa; Mon, 22 Aug 2022 13:12:36 -0700 (PDT) X-Google-Smtp-Source: AA6agR6jmXJe8+l/MPz21NHttF0H8H164hLg6L9L7mavubCz/kuyXr/VY2k+JwfE+EbFDXUyuWZl X-Received: by 2002:a17:902:b903:b0:170:9964:b47b with SMTP id bf3-20020a170902b90300b001709964b47bmr21819672plb.83.1661199155863; Mon, 22 Aug 2022 13:12:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661199155; cv=none; d=google.com; s=arc-20160816; b=OkBkV++LY6pMAAoOhaoCNc4N4l1j6Q3ordYr0BOD7FKSN5nbCG4OmqNmcL226Qa6ZV eepH6foRrnDuZeIlGCfKICTDpgOa19GVPiHKXgt7ZltFNbiGpJDM4JEMRL12FdLhLmbM x5ywhIhAb/6kmAiefUrLgW4vorkkwOPdfZDC/HruLNhFurnA4ulm46qkmkjz2VUbzgNU e8edsX7PFX95vQUh4T2fYZPdc5BZz0BFG8GnqeIYBuZOdNqnTkoyC370TkGeruGG1D0e Fo0xyeiWPVrq6ttl+DrHEjUKKlnq/Eg5csgpbTZuJmxWuTVGmiVTr98+eMdu9EQUsH3F Ol+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=1naA9vNk3/eH1I9D52GSl1kXImc5DsL+BHAHMfWytNg=; b=nyGLBBu7aFeIsY7tAMNpbKrRfp39ToLxlpYymQS5gRVeYKOpDnN/kvDC6fL1U/igMc EiAxRQP+fVPPm7nwnEu5M+TaWr+mov1CMC0kZywp+wqanfh6L8yInoLjH4amqy2VSrsT NTb1t0Bhl+RrJsK4s8veT3oA0KAfw42ErMl8nmWr+XXU1eRHTLB/l0DDtFT9jYm2oSVT 74SwowWogQk7VPg2a2P4mjTAcIEi5yqzUo7D8e4sFLTk7VTW3UcMqa4w5O6S3MWQxCAT BUTU5rvH1E5qSv627Aa0Ec+BYOuPhsWYtx9kpdSEnC2bvChU1u61b+3yEjCbYFD3xWyA 3WEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=FiL9UObu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b13-20020a631b0d000000b0041c7d4a1350si14171176pgb.350.2022.08.22.13.12.23; Mon, 22 Aug 2022 13:12:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=FiL9UObu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232160AbiHVUF5 (ORCPT + 99 others); Mon, 22 Aug 2022 16:05:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231867AbiHVUFv (ORCPT ); Mon, 22 Aug 2022 16:05:51 -0400 Received: from mail-oa1-x29.google.com (mail-oa1-x29.google.com [IPv6:2001:4860:4864:20::29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12D734620C for ; Mon, 22 Aug 2022 13:05:49 -0700 (PDT) Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-11c4d7d4683so14237167fac.8 for ; Mon, 22 Aug 2022 13:05:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=1naA9vNk3/eH1I9D52GSl1kXImc5DsL+BHAHMfWytNg=; b=FiL9UObuk3rpCWubxZ8WQ+aemJSVWBIbauSNQt/grOIvCnzA79D7l8a00R/sJEoeII lcMZJgKezXZ5AXKJzJSiFwtJphdeeRSUBzRwFqCiPCQFBAXwJ0//1YeBpwznoBRQhwrv CAchVzvYi3Z/R/49n2gQ0GOAS3n4xbdTjcfNWIsrfkiFZs+cl3DOdWFS0qmc5h1gOBos z4x8GnKVitthJaWRr8IfQ79VrvBt8z4dowPq45yXpuhQI7XyvUZVZAik77xaDsFZTRk8 2UiRHMJo6tiLzthK8QEdovMA1tboLi0ey97QxHLRypsUluIr084U21cdg41j9tk8SiI9 Vlyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=1naA9vNk3/eH1I9D52GSl1kXImc5DsL+BHAHMfWytNg=; b=LP7IUuNOLm7l3TJfguCsDx4nqXsP8cJBKn1ClkrTFqiCP2tSrOtnTaal7JbK3WBjVe JZK3E0vaOuzAoXtd4LIqQwgRNXOE+QdWK2FIYaUKfeZw8lpAOHvWt9JVQMI6cIayHB/w 2IZSYVuR98kHSh54gtFwadRUm4rj06lf10hRNhbYY2JabofnbqAvx/1XJaiw8UtI5EhW xFS987IFi46Lptrr6ewpcGa5O/ZCe8Ve2xdyZ1IYVwDaSNqJ6ZBsz2OlsdtdAOU5K163 DBKaXrRrwhN8R29UaVBF08JhRKM75XUT98ZnjhfX4gfZgJa5Ln3obc+uhGouCxnK2w01 z7HQ== X-Gm-Message-State: ACgBeo056Syv1KGFVPdBk+7pBFRo/zghHkpLnqgnBt7dWa9CgPKcbUNm e6Jbd30dEeexnsgXssPVz5tkgJSZNcfnGtziWc4= X-Received: by 2002:a05:6870:e98b:b0:10d:fe5c:f818 with SMTP id r11-20020a056870e98b00b0010dfe5cf818mr21365oao.106.1661198749228; Mon, 22 Aug 2022 13:05:49 -0700 (PDT) MIME-Version: 1.0 References: <20220821062528.13416-1-tales.aparecida@gmail.com> In-Reply-To: <20220821062528.13416-1-tales.aparecida@gmail.com> From: Alex Deucher Date: Mon, 22 Aug 2022 16:05:37 -0400 Message-ID: Subject: Re: [PATCH] drm/amd/display: remove unneeded defines from bios parser To: Tales Aparecida Cc: harry.wentland@amd.com, sunpeng.li@amd.com, Rodrigo.Siqueira@amd.com, alexander.deucher@amd.com, christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Applied. Thanks! Alex On Sun, Aug 21, 2022 at 2:41 AM Tales Aparecida wrote: > > Removes DEFINEs that should have been removed after they were > introduced to ObjectID.h by the commit abea57d70e90 > ("drm/amdgpu: Add BRACKET_LAYOUT_ENUMs to ObjectID.h") > > Signed-off-by: Tales Aparecida > --- > .../drm/amd/display/dc/bios/bios_parser2.c | 19 ------------------- > 1 file changed, 19 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c b/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c > index 09fbb7ad5362..ead4da11a992 100644 > --- a/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c > +++ b/drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c > @@ -44,25 +44,6 @@ > > #include "bios_parser_common.h" > > -/* Temporarily add in defines until ObjectID.h patch is updated in a few days */ > -#ifndef GENERIC_OBJECT_ID_BRACKET_LAYOUT > -#define GENERIC_OBJECT_ID_BRACKET_LAYOUT 0x05 > -#endif /* GENERIC_OBJECT_ID_BRACKET_LAYOUT */ > - > -#ifndef GENERICOBJECT_BRACKET_LAYOUT_ENUM_ID1 > -#define GENERICOBJECT_BRACKET_LAYOUT_ENUM_ID1 \ > - (GRAPH_OBJECT_TYPE_GENERIC << OBJECT_TYPE_SHIFT |\ > - GRAPH_OBJECT_ENUM_ID1 << ENUM_ID_SHIFT |\ > - GENERIC_OBJECT_ID_BRACKET_LAYOUT << OBJECT_ID_SHIFT) > -#endif /* GENERICOBJECT_BRACKET_LAYOUT_ENUM_ID1 */ > - > -#ifndef GENERICOBJECT_BRACKET_LAYOUT_ENUM_ID2 > -#define GENERICOBJECT_BRACKET_LAYOUT_ENUM_ID2 \ > - (GRAPH_OBJECT_TYPE_GENERIC << OBJECT_TYPE_SHIFT |\ > - GRAPH_OBJECT_ENUM_ID2 << ENUM_ID_SHIFT |\ > - GENERIC_OBJECT_ID_BRACKET_LAYOUT << OBJECT_ID_SHIFT) > -#endif /* GENERICOBJECT_BRACKET_LAYOUT_ENUM_ID2 */ > - > #define DC_LOGGER \ > bp->base.ctx->logger > > -- > 2.37.2 >