All of lore.kernel.org
 help / color / mirror / Atom feed
* etnaviv: PHYS_OFFSET usage
@ 2017-11-15 16:24 ` Alexey Brodkin
  0 siblings, 0 replies; 12+ messages in thread
From: Alexey Brodkin @ 2017-11-15 16:24 UTC (permalink / raw)
  To: linux-snps-arc

Hi Lucas,

As we discussed on ELCE last month in Prague we have Vivante GPU
built-in our new ARC HSDK development board.

And even though [thanks to your suggestions] I got Etnaviv driver
working perfectly fine on our board I faced one quite a tricky
situation [which I dirty worked-around for now].

Etnaviv driver uses some PHYS_OFFSET define which is not very
usual across all architectures and platforms supported by Linux kernel.

In fact for ARC we don't have?PHYS_OFFSET defined [yet].
And I'm wondering how to get this resolved.

Essentially we have 2 options:
?1. Define?PHYS_OFFSET for ARC (and later for other arches once needed)
?2. Replace?PHYS_OFFSET with something else in etnaviv sources.

Even though (1) seems to be the simplest solution is doesn't look very nice
because it seems to be quite ARM-specific but not something really generic
and portable.

As for (2) frankly I din't quite understand why do we really care about
DDR start offset in the GPU driver. If some more light could be shed on this
topic probably we'll figure out what would be more elegant solution.

Regards,
Alexey

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-12-05  9:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-15 16:24 etnaviv: PHYS_OFFSET usage Alexey Brodkin
2017-11-15 16:24 ` Alexey Brodkin
2017-11-15 16:44 ` Lucas Stach
2017-11-15 16:44   ` Lucas Stach
2017-11-15 16:44   ` Lucas Stach
2017-11-15 17:36   ` Alexey Brodkin
2017-11-15 17:36     ` Alexey Brodkin
2017-11-15 17:56     ` Lucas Stach
2017-11-15 17:56       ` Lucas Stach
2017-11-15 17:56       ` Lucas Stach
2017-12-05  9:32       ` Alexey Brodkin
2017-12-05  9:32         ` Alexey Brodkin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.