[Intel-gfx] [PATCH 3/4] drm/i915: Make i830 .get_cdclk() assignment less confusing

Chris Wilson chris at chris-wilson.co.uk
Tue Jul 14 16:45:45 UTC 2020


Quoting Ville Syrjala (2020-07-14 16:26:25)
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> Explicitly check for i830 when assigning the .get_cdclk() vfunc,
> and then deal with the case of not having assigned the vfunc
> separately. Less confusing, and gets rid of the checkpatch complaint
> about using {} on one branch but not the others.
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list