drm/i915: Flatten and rename haswell_set_pipemisc()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 12 Apr 2019 18:30:08 +0000 (21:30 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 30 Apr 2019 19:14:43 +0000 (22:14 +0300)
commit9b11215e40c5a0aefba9b026543fb0799f61bf6f
treea26df3ba358af91a916981d8113118e91acd9324
parent8a9b36e2588b85e954f71dc03f165091a6fe0593
drm/i915: Flatten and rename haswell_set_pipemisc()

Move the platform checks out from haswell_set_pipemisc() and
rename it to bdw_set_pipemisc() to make it clear when to call it.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190412183009.8237-1-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c