From patchwork Thu Apr 7 09:14:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jani Nikula X-Patchwork-Id: 12804882 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 01223C433F5 for ; Thu, 7 Apr 2022 09:14:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5438110E685; Thu, 7 Apr 2022 09:14:45 +0000 (UTC) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7364210E685; Thu, 7 Apr 2022 09:14:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649322884; x=1680858884; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=D3gIMkRiHLXcV951qsCOXaT7ZR2F2IWC1kbATTi4ZR4=; b=HOuMwOJXCMylROkdkUZixIhnTbtqjW/cN62/S32oBI4bnXuM21Rn5f0M IFenmrMJwq9Ztv3eF2r3AE+EDfSGQWS8iPhJ45emxj2NKWfm3p91PUApo FdwU9aLxT2HFs/ceb4caow7y3UDL8cdpQ0SeBqnqRS9Z27jP6GvQQQF6z zRkECHVtHdvNQLPjSzyRuzXNWljE2NYcg8OgQMCuKzjXUEoUQkIlekcjb K2fSXIYg7Cn+U44Uei11XQ+/jd7rfBFyBd7GyVwjkVgp+jMloPfT3+kvW sfC5TAXXssGcbSLKxhoMr/k+82TcJnmEa0YW/b53j7zsMtWBeEFkLOUcI Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10309"; a="347713259" X-IronPort-AV: E=Sophos;i="5.90,241,1643702400"; d="scan'208";a="347713259" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2022 02:14:44 -0700 X-IronPort-AV: E=Sophos;i="5.90,241,1643702400"; d="scan'208";a="570970371" Received: from kgibala-mobl.ger.corp.intel.com (HELO localhost) ([10.249.142.48]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2022 02:14:41 -0700 From: Jani Nikula To: dri-devel@lists.freedesktop.org Subject: [PATCH 00/12] drm/edid: low level EDID block read refactoring etc. Date: Thu, 7 Apr 2022 12:14:26 +0300 Message-Id: X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo 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: jani.nikula@intel.com, intel-gfx@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Ever so slowly moving towards cleaner EDID reading. Jani Nikula (12): drm/edid: convert edid_is_zero() to edid_block_is_zero() for blocks drm/edid: have edid_block_check() detect blocks that are all zero drm/edid: refactor EDID block status printing drm/edid: add a helper to log dump an EDID block drm/edid: pass struct edid to connector_bad_edid() drm/edid: add typedef for block read function drm/edid: abstract an EDID block read helper drm/edid: use EDID block read helper in drm_do_get_edid() drm/edid: convert extension block read to EDID block read helper drm/edid: drop extra local var drm/edid: add single point of return to drm_do_get_edid() drm/edid: add EDID block count and size helpers drivers/gpu/drm/drm_edid.c | 350 ++++++++++++++++++++++++------------- 1 file changed, 225 insertions(+), 125 deletions(-) Reviewed-by: Ville Syrjälä