drm/i915: fix accidental static variable use
authorJani Nikula <jani.nikula@intel.com>
Fri, 15 Nov 2019 12:04:40 +0000 (14:04 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 18 Nov 2019 11:06:22 +0000 (13:06 +0200)
commit48ea97fabe75c83adf4e6ff9262bbda229e6ee73
tree19b1e5908142005295c81b2ed8df9dacae09df1d
parent82e0c5bbd6eb1d274b5a3e519ff0ab91f1f8e537
drm/i915: fix accidental static variable use

It's supposed to be just a const pointer.

Fixes: 074c77e3ec63 ("drm/i915/tgl: Gen-12 display loses Yf tiling and legacy CCS support")
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191115120440.17883-1-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_sprite.c