All of lore.kernel.org
 help / color / mirror / Atom feed
* some minor dal cleanups and example of future patches
@ 2016-12-13  6:41 Dave Airlie
       [not found] ` <20161213064112.20004-1-airlied-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 23+ messages in thread
From: Dave Airlie @ 2016-12-13  6:41 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

So whenever I look at DAL I find myself trying to figure out what
all of it does, and this leads me to deleting things, so I'm just
sending out some stuff that I cleaned today.

One thing I noticed in passing is the displayport code seems
possibly endian unsafe, it casts bytes read from hardware into
bitfields, this is the best defined behaviour and is generally
a pattern we try to steer away from.

The porting the displayport code to use drm defines is the
sort of example of a cleanup patch that might cause problems
for you in code sharing, but is the exact sort of patch that
has been applied to other drivers in the past.

Dave.

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

end of thread, other threads:[~2016-12-24 13:29 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-13  6:41 some minor dal cleanups and example of future patches Dave Airlie
     [not found] ` <20161213064112.20004-1-airlied-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-12-13  6:41   ` [PATCH 1/8] dc: remove dc hub - this seems unused Dave Airlie
2016-12-13  6:41   ` [PATCH 2/8] dal: remove some unused wrappers Dave Airlie
     [not found]     ` <20161213064112.20004-3-airlied-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-12-14 16:26       ` Harry Wentland
     [not found]         ` <f30d9730-8d3d-4b9d-ced2-4a1bb93138d2-5C7GfCeVMHo@public.gmane.org>
2016-12-14 16:36           ` Alex Deucher
2016-12-14 21:04           ` Dave Airlie
2016-12-19 12:46           ` Emil Velikov
     [not found]             ` <CACvgo53HxQq4HhizR-+VY4W7cGb5O3XXmLUNhEGbipeo8ODjWA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-12-19 12:53               ` StDenis, Tom
     [not found]                 ` <CY4PR12MB1768D6FCEC097FCDE97E314EF7910-rpdhrqHFk06yjjPBNVDk/QdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2016-12-21 14:50                   ` Emil Velikov
     [not found]                     ` <CACvgo5220YNkWfW0xWr9Sn6a-tN8Ja02CZu65H2UWTQh+d_EZQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-12-21 15:04                       ` Sagalovitch, Serguei
     [not found]                         ` <SN1PR12MB07034F6B1DB5696FC2DA9729FE930-z7L1TMIYDg6P/i5UxMCIqAdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2016-12-24 13:29                           ` Emil Velikov
2016-12-19 15:27               ` Harry Wentland
2016-12-13  6:41   ` [PATCH 3/8] dal: drop register logger and pid/tgid getters Dave Airlie
     [not found]     ` <20161213064112.20004-4-airlied-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-12-13 10:07       ` Christian König
2016-12-13  6:41   ` [PATCH 4/8] dal: drop get platform info Dave Airlie
2016-12-13  6:41   ` [PATCH 5/8] dal: drop setmode complete notifier Dave Airlie
2016-12-13  6:41   ` [PATCH 6/8] drm/dp-helper: add missing defines needed by AMD display core Dave Airlie
2016-12-13  6:41   ` [PATCH 7/8] dal: port to using drm dpcd defines Dave Airlie
2016-12-13  6:41   ` [PATCH 8/8] dal: assign correct enum for edp revision Dave Airlie
2016-12-13  6:57   ` some minor dal cleanups and example of future patches Dave Airlie
2016-12-13  7:48   ` Edward O'Callaghan
2016-12-15 20:44   ` Harry Wentland
     [not found]     ` <b3875cd1-74e2-1902-abe7-e674a352855d-5C7GfCeVMHo@public.gmane.org>
2016-12-16  0:56       ` Michel Dänzer

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.