From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 84E223FE36C for ; Wed, 1 Jul 2026 13:23:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782912201; cv=none; b=ebhir/0mbIPZVNIzq8r5TEbOqxMkVjfzbg6GbaNfeEqcIP53V8Kdkx5MFOh/9pp8HL6+7fuhU7yGSDLCTQV2aVO4t20L6FI9r0Zc0EswcuQhvU3kDfUvyM1q17fXa9gIDQICMmna2yrIPLY7RG2GTUW6ld1M8b1X3kYpU5/kiXM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782912201; c=relaxed/simple; bh=vuN1yO6twImDwgKwbLOmR6FzDCcAkXZ9tCkUKIh45mc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=pdCJNxXIVfUlHK8dR58dseQALLeuxqQ7bAXLHuAwNW3TcVDBAN60z9mBlCqM6AJzcpk/wkoNOPYrk+fBNzBUiRoDyIpYVsK3BpO1uLuB4wUnwgyLQuo95zm+n+/pD9lVUt+1rmrF6UXPQW+jrqB0dx3j0Mj1hdZjK1wBxP1Rc4Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=M/X2u51W; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=VK00TlLb; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="M/X2u51W"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="VK00TlLb" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1782912199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=POBMS69xaTAlDO61cGtQgpgznOnVcF/ICKu09umviWw=; b=M/X2u51WWZo68HjOG3/sj9DApOwnM2DpscoxQB651UPfHigvl6Ltt9K90Sa4V/HWsqVTVS nwDxzPqChmXwl1sYKFWJr0So8kL5VAN2CIPlF7UK86OqIfsqE3yPI/GVBECsmIHUY5wrXC Lvcm6cTeZaXKB9cA1VjrLfkDzEdRL3E= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-70-h55_om7eMIqYvgqEqKtylA-1; Wed, 01 Jul 2026 09:23:18 -0400 X-MC-Unique: h55_om7eMIqYvgqEqKtylA-1 X-Mimecast-MFC-AGG-ID: h55_om7eMIqYvgqEqKtylA_1782912197 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-4754fc5c021so500621f8f.2 for ; Wed, 01 Jul 2026 06:23:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1782912197; x=1783516997; darn=vger.kernel.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=POBMS69xaTAlDO61cGtQgpgznOnVcF/ICKu09umviWw=; b=VK00TlLbHjaJ+iPpbMYskPHv1UMa1GLjR0z1LooEkHGpBDcKLy1euy3ZkmufYbR5DT uks4ua8SWmQGr/BojMwRCQCEy/ZoqR7yyWjF0WwPSJOCJV5mZ0IlcLDb1Z3cMDSLQdke HpIB439KkGNlUkdJAhO322SPZAAq8XPrCHX7g0sRtxgjy7TEq8gbGt+cgltA6ptl829I pnsJM33KAdeh1O7PmPFJ243YFGwAKodom5aEkrorcpfPKMUbwPFexVgQZgD8Rz2NlSul MPvsUBSbyGuudfmvHOGd19dExZP8Yztj3Xhp2R66f66CC/k4aHE2W+nLMFutUDYodQUG vY9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782912197; x=1783516997; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=POBMS69xaTAlDO61cGtQgpgznOnVcF/ICKu09umviWw=; b=P/1ovA2kIiO1+ai/LJJiEb/eChtjG0DN65qqiLRO77Yfk+mn80dEaeRuIPkumh5svh VqT672NT27s4yKvYjrw3tZe/OHbi/6Jl9dpIrfbaXeqlFCI5NYVNOSD63hlLhTQ/QoWO jcvtYWmWI9ex/hkC3V8XYX/et+QpBukZ7z1Y/bgMHuCY8cA45zZDdMunFw/Mc0FhAEqF lArPt6WeP3Zh+c4U4trkZtQomk/Kzxi+wMCOSI1KcMGc5RBHQCSI7G0UlTMW1YoHh7k7 CM3TQDs9XDhzusyZdydSwcIyKsQM09V7s0LSvPQ+fFHhE/JRF9IEoK1rRMMwiZeErYkI o0Hg== X-Forwarded-Encrypted: i=1; AHgh+RpFR/7zK1v/oW/8P0ksdHy6AttD816GIG/reEfD+il2wlgXe6j4lbFg55wKuA/mSZeifniyop4YzQm+3GY=@vger.kernel.org X-Gm-Message-State: AOJu0YyRiuiqggH43Iwnz4BP7KSPGralgLbRGDB/3+/9cMte1LWoV7Hc KPZ1Ul1Tn6vUIJCy9r+FlhxY9u/8VJ/qvJUOSOQw/oM3yDMnvlp13yW3VWRj2AF+bfdk6wYVQGa 22/JgIcOVaLHdnjoBHuSih2qFltMGF9+KXzy0lcMdMYhzwl7JLAQuqtB4lYwyfluJUA== X-Gm-Gg: AfdE7cmQK4sZf/B/Q9GKJZhXQ4/zw90bzT5co2ZQNYevKxo3R5SBntc+4+7A4dkS0qo cM9/ccvMR9Vsj/OHR3DGsXXHkGg333u9VptrUxugF4QiWVI5xrlsZ2hzmxSk7+J8YwayMmLE2cy fLE9EqmzJ4MBkGBZML0lOrui98AjlPedVoicrqGjrwpuBZfOe0IOMfckGbAk7DQ2nChASWaSavB kTjMsTwyw6wuG289fVoyH/P6bC8X05/AseN9O2xlQ9k6GI3ZhNX36l2+BcCju+k2qWXheXC0IK5 /1azZxqINrEVmNcWBB8e63SeCuh0Eo8u9eWl0qCinQHTJI8iK0F0ojqTdxmnyPS4AsZETgLA/AE 7eWSmPent7DzkOlsiNR4s2ghYbq8BixN0y5n1yByBSHduiVz/1lf5TsOgIMkAr89GM6Co5A== X-Received: by 2002:a05:6000:18a4:b0:465:ba53:a006 with SMTP id ffacd0b85a97d-477588e7d03mr2696735f8f.23.1782912197087; Wed, 01 Jul 2026 06:23:17 -0700 (PDT) X-Received: by 2002:a05:6000:18a4:b0:465:ba53:a006 with SMTP id ffacd0b85a97d-477588e7d03mr2696673f8f.23.1782912196607; Wed, 01 Jul 2026 06:23:16 -0700 (PDT) Received: from localhost (62-151-111-63.jazzfree.ya.com. [62.151.111.63]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4756636cdccsm15726626f8f.24.2026.07.01.06.23.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2026 06:23:15 -0700 (PDT) From: Javier Martinez Canillas To: Amit Barzilai , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter Cc: Jocelyn Falempe , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Amit Barzilai Subject: Re: [PATCH 0/3] drm/ssd130x: fix column and row end address in partial updates of ssd132x and ssd133x devices In-Reply-To: <20260622122604.32500-1-amit.barzilai22@gmail.com> References: <20260622122604.32500-1-amit.barzilai22@gmail.com> Date: Wed, 01 Jul 2026 15:23:08 +0200 Message-ID: <875x2ydetf.fsf@ocarina.mail-host-address-is-not-set> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Amit Barzilai writes: Hello Amit, Thanks for your patches. > While working on adding SSD1351 support to the ssd130x driver - I > noticed that the area of the cursor was refreshing in a weird state. > I would fill the screen red while the flashing cursor was on the screen, > but the screen wouldn't refresh the entire 8x8 rectangle each flash. > > After reading the SSD1351, SSD1331 and SSD132x manuals and manual > testing on the SSD1351, I was able to be sure that the problem was the > end addresses of "Set Column/Row Address" being sent as relative addresses > instead of absolute addresses. > Indeed. > I assume these bugs went under the radar because testing would usually > be done where the dirty rectangles would start from the 0,0 coordinates. > In these situations, the bug would be invisable, since adresses relative > to 0 are the same as their absolute value. > Yes, I believe that was the case. Thanks a lot for fixing these issues! > It is important to note that I didn't test these changes on a SSD132x > scree0n or a SSD133x screens, only on an SSD1351. Manual testing is > advised. > > This series contains the fix for ssd132x_update_rect, a simple clean-up > patch for ssd132x_update_rect to keep the function clean, and the same > fix on ssd133x_update_rect. > For the whole series: Reviewed-by: Javier Martinez Canillas I plan to push them to drm-misc-next rather than to drm-misc-fixes, since these have been long standing bugs and the changes are likely to conflict with your SSD1351 patches that are in-flight. -- Best regards, Javier Martinez Canillas Core Platforms Red Hat