drm/i915: Use drm_rect to simplify plane {crtc,src}_{x,y,w,h} printing
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 29 Nov 2019 18:54:26 +0000 (20:54 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 2 Dec 2019 16:38:40 +0000 (18:38 +0200)
commit6d37bc73976f5306f39b9d34a2e95f0285e6e862
tree4c5363bd720b3b41d250190611fa0455a07e9d4f
parent56273062e760373757a3c9dde943f945874202af
drm/i915: Use drm_rect to simplify plane {crtc,src}_{x,y,w,h} printing

Use DRM_RECT_FMT & co. to simpify the code.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191129185434.25549-2-ville.syrjala@linux.intel.com
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
drivers/gpu/drm/i915/i915_debugfs.c