From: Devarsh Thakkar <devarsht@ti.com>
To: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>,
"jyri.sarha@iki.fi" <jyri.sarha@iki.fi>,
"airlied@gmail.com" <airlied@gmail.com>,
"maarten.lankhorst@linux.intel.com"
<maarten.lankhorst@linux.intel.com>,
"mripard@kernel.org" <mripard@kernel.org>,
"tzimmermann@suse.de" <tzimmermann@suse.de>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
"simona@ffwll.ch" <simona@ffwll.ch>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"robh@kernel.org" <robh@kernel.org>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
"conor+dt@kernel.org" <conor+dt@kernel.org>
Cc: "Bajjuri, Praneeth" <praneeth@ti.com>,
"Raghavendra, Vignesh" <vigneshr@ti.com>,
"Jain, Swamil" <s-jain1@ti.com>,
"Donadkar, Rishikesh" <r-donadkar@ti.com>,
"Choudhary, Jayesh" <j-choudhary@ti.com>,
"Shenoy, Harikrishna" <h-shenoy@ti.com>,
Aradhya Bhatia <aradhya.bhatia@linux.dev>
Subject: Re: [PATCH 2/2] drm/tidss: Add support for AM62L display subsystem
Date: Wed, 5 Feb 2025 11:23:16 +0530 [thread overview]
Message-ID: <5f122a31-771f-93c9-57fe-bc5766c1fccc@ti.com> (raw)
In-Reply-To: <c6179f0b-c93f-483b-bfeb-322d800e5170@ideasonboard.com>
Hi Tomi
>> Thanks for pointing out, I probably missed this since the use-case still
>> worked since VP interrupts were still enabled and those were sufficient to
>> drive the display
>> but the VID underflow interrupts and VID specific bits were probably not
>> enabled at-all due to above miss, so agreed
>> we should probably go ahead with a different reg space for AM62L due to
>> aforementioned differences.
>
> I think I disagree here. Afaiu, AM62L has plane at hw index 1 (VIDL1), but the
> plane at hw index 0 (VID1) is not instantiated in the hardware. But the
> registers are the same, i.e. AM62L's registers for VIDL1 match AM65x/AM62x
> registers, right?
>
> If so, we just need to tell the driver the hw index, instead of creating new
> register offsets as done in v2.
>
> Or am I missing something here? (I haven't looked at the HW manual yet).
>
No that's not the only difference. For AM62L, the VID_IRQENABLE/STATUS
registers start at +0x4 as compared to AM65x/AM62x/ :
AM62L:
[DISPC_VID_IRQENABLE_OFF] = 0x48,
[DISPC_VID_IRQSTATUS_OFF] = 0x5c,
AM62x/AM65x:
[DISPC_VID_IRQENABLE_OFF] = 0x44,
[DISPC_VID_IRQSTATUS_OFF] = 0x58,
So it seems okay to me to have a separate reg offset struct.
Regards
Devarsh
next prev parent reply other threads:[~2025-02-05 5:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-31 9:04 [PATCH 0/2] Add support for AM62L DSS Devarsh Thakkar
2024-12-31 9:04 ` [PATCH 1/2] dt-bindings: display: ti,am65x-dss: " Devarsh Thakkar
2025-01-02 8:22 ` Krzysztof Kozlowski
2025-01-24 8:20 ` Jayesh Choudhary
2025-02-03 12:34 ` Devarsh Thakkar
2024-12-31 9:04 ` [PATCH 2/2] drm/tidss: Add support for AM62L display subsystem Devarsh Thakkar
2025-01-06 9:28 ` Tomi Valkeinen
2025-01-18 9:27 ` Aradhya Bhatia
2025-01-28 13:16 ` Devarsh Thakkar
2025-02-04 15:33 ` Tomi Valkeinen
2025-02-05 5:53 ` Devarsh Thakkar [this message]
2025-02-05 6:56 ` Tomi Valkeinen
2025-01-06 9:29 ` [PATCH 0/2] Add support for AM62L DSS Tomi Valkeinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5f122a31-771f-93c9-57fe-bc5766c1fccc@ti.com \
--to=devarsht@ti.com \
--cc=airlied@gmail.com \
--cc=aradhya.bhatia@linux.dev \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=h-shenoy@ti.com \
--cc=j-choudhary@ti.com \
--cc=jyri.sarha@iki.fi \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=praneeth@ti.com \
--cc=r-donadkar@ti.com \
--cc=robh@kernel.org \
--cc=s-jain1@ti.com \
--cc=simona@ffwll.ch \
--cc=tomi.valkeinen@ideasonboard.com \
--cc=tzimmermann@suse.de \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®