Re: [Intel-gfx] [PATCH] drm/i915/dsb: hide struct intel_dsb better

2022-09-08 Thread Jani Nikula
On Thu, 08 Sep 2022, Ville Syrjälä wrote: > On Thu, Sep 08, 2022 at 07:57:02PM +0300, Jani Nikula wrote: >> struct intel_dsb can be an opaque type, hidden in intel_dsb.c. Make it >> so. Reduce related includes while at it. >> >> Signed-off-by: Jani Nikula > > One thing I was mildly worried about

Re: [Intel-gfx] [PATCH] drm/i915/dsb: hide struct intel_dsb better

2022-09-08 Thread Ville Syrjälä
On Thu, Sep 08, 2022 at 07:57:02PM +0300, Jani Nikula wrote: > struct intel_dsb can be an opaque type, hidden in intel_dsb.c. Make it > so. Reduce related includes while at it. > > Signed-off-by: Jani Nikula One thing I was mildly worried about with dsb is the cost of creating the batch (updatin

[Intel-gfx] [PATCH] drm/i915/dsb: hide struct intel_dsb better

2022-09-08 Thread Jani Nikula
struct intel_dsb can be an opaque type, hidden in intel_dsb.c. Make it so. Reduce related includes while at it. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_color.c | 1 + drivers/gpu/drm/i915/display/intel_display.c | 1 + drivers/gpu/drm/i915/display/intel_dsb.c |