Commit 9198ee5b9048418849ad96fe37eaff8cd56aaf43
Committed by
Daniel Vetter
1 parent
15747638e6
Exists in
master
and in
20 other branches
drm/i915/hmdi: Rename set_infoframe() to write_infoframe()
set_frame() wraps the write_frame() vfunc. Be consistent and name the wrapping function like the vfunc being called. It's doubly confusing as we also have a set_infoframes() vfunc and set_infoframe() doesn't wrap it. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Showing 1 changed file with 4 additions and 4 deletions Side-by-side Diff
drivers/gpu/drm/i915/intel_hdmi.c
... | ... | @@ -327,8 +327,8 @@ |
327 | 327 | * trick them by giving an offset into the buffer and moving back the header |
328 | 328 | * bytes by one. |
329 | 329 | */ |
330 | -static void intel_set_infoframe(struct drm_encoder *encoder, | |
331 | - union hdmi_infoframe *frame) | |
330 | +static void intel_write_infoframe(struct drm_encoder *encoder, | |
331 | + union hdmi_infoframe *frame) | |
332 | 332 | { |
333 | 333 | struct intel_hdmi *intel_hdmi = enc_to_intel_hdmi(encoder); |
334 | 334 | uint8_t buffer[VIDEO_DIP_DATA_SIZE]; |
... | ... | @@ -373,7 +373,7 @@ |
373 | 373 | HDMI_QUANTIZATION_RANGE_FULL; |
374 | 374 | } |
375 | 375 | |
376 | - intel_set_infoframe(encoder, &frame); | |
376 | + intel_write_infoframe(encoder, &frame); | |
377 | 377 | } |
378 | 378 | |
379 | 379 | static void intel_hdmi_set_spd_infoframe(struct drm_encoder *encoder) |
... | ... | @@ -389,7 +389,7 @@ |
389 | 389 | |
390 | 390 | frame.spd.sdi = HDMI_SPD_SDI_PC; |
391 | 391 | |
392 | - intel_set_infoframe(encoder, &frame); | |
392 | + intel_write_infoframe(encoder, &frame); | |
393 | 393 | } |
394 | 394 | |
395 | 395 | static void g4x_set_infoframes(struct drm_encoder *encoder, |