[Intel-gfx] [PATCH 24/59] drm/tidss: Don't use drm_device->dev_private

Tomi Valkeinen tomi.valkeinen at ti.com
Tue Apr 21 11:05:12 UTC 2020


On 15/04/2020 10:39, Daniel Vetter wrote:
> Upcasting using a container_of macro is more typesafe, faster and
> easier for the compiler to optimize.
> 
> Tested-by: Jyri Sarha <jsarha at ti.com>
> Acked-by: Sam Ravnborg <sam at ravnborg.org>
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> Cc: Jyri Sarha <jsarha at ti.com>
> Cc: Tomi Valkeinen <tomi.valkeinen at ti.com>
> ---
>   drivers/gpu/drm/tidss/tidss_crtc.c  | 16 ++++++++--------
>   drivers/gpu/drm/tidss/tidss_drv.c   |  2 --
>   drivers/gpu/drm/tidss/tidss_drv.h   |  2 ++
>   drivers/gpu/drm/tidss/tidss_irq.c   | 12 ++++++------
>   drivers/gpu/drm/tidss/tidss_kms.c   |  2 +-
>   drivers/gpu/drm/tidss/tidss_plane.c |  6 +++---
>   6 files changed, 20 insertions(+), 20 deletions(-)

Reviewed-by: Tomi Valkeinen <tomi.valkeinen at ti.com>

  Tomi

-- 
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki


More information about the Intel-gfx mailing list