lkml.org 
[lkml]   [2021]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/9] drm/i915/gvt: Constify static structs
Date
Constify a number of static structs that are never modified to allow the
compiler to put them in read-only memory. In order to do this, constify a
number of local variables and pointers in structs.

This is most important for structs that contain function pointers, and
the patches for those structs are placed first in the series.

Rikard Falkeborn (9):
drm/i915/gvt: Constify intel_gvt_gtt_pte_ops
drm/i915/gvt: Constify intel_gvt_gtt_pte_ops
drm/i915/gvt: Constify intel_gvt_irq_ops
drm/i915/gvt: Constify intel_gvt_sched_policy_ops
drm/i915/gvt: Constify gvt_mmio_block
drm/i915/gvt: Constify cmd_interrupt_events
drm/i915/gvt: Constify formats
drm/i915/gvt: Constify gtt_type_table_entry
drm/i915/gvt: Constify vgpu_types

drivers/gpu/drm/i915/gvt/cmd_parser.c | 2 +-
drivers/gpu/drm/i915/gvt/fb_decoder.c | 24 ++++-----
drivers/gpu/drm/i915/gvt/gtt.c | 68 ++++++++++++-------------
drivers/gpu/drm/i915/gvt/gtt.h | 4 +-
drivers/gpu/drm/i915/gvt/gvt.h | 2 +-
drivers/gpu/drm/i915/gvt/handlers.c | 12 ++---
drivers/gpu/drm/i915/gvt/interrupt.c | 10 ++--
drivers/gpu/drm/i915/gvt/interrupt.h | 2 +-
drivers/gpu/drm/i915/gvt/sched_policy.c | 2 +-
drivers/gpu/drm/i915/gvt/scheduler.h | 2 +-
drivers/gpu/drm/i915/gvt/vgpu.c | 4 +-
11 files changed, 66 insertions(+), 66 deletions(-)

--
2.34.1

\
 
 \ /
  Last update: 2021-12-04 11:56    [W:0.123 / U:16.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site