[Intel-gfx] [PATCH 40/44] drm/cirrus: Don't use drm_device->dev_private

Eric Anholt eric at anholt.net
Fri Apr 3 17:40:27 UTC 2020


On Fri, Apr 3, 2020 at 6:59 AM Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
>
> Upcasting using a container_of macro is more typesafe, faster and
> easier for the compiler to optimize.
>
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> Cc: Dave Airlie <airlied at redhat.com>
> Cc: Gerd Hoffmann <kraxel at redhat.com>
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> Cc: "Noralf Trønnes" <noralf at tronnes.org>
> Cc: Sam Ravnborg <sam at ravnborg.org>

Acked-by: Eric Anholt <eric at anholt.net>


More information about the Intel-gfx mailing list