diff options
author | Jani Nikula <jani.nikula@intel.com> | 2016-11-30 17:43:05 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-12-07 15:19:51 +0200 |
commit | f69c11aeb872e51bf3900a6c0c8397f9ddb9f5bc (patch) | |
tree | ef4c50d4d738ce83a7e17447fa3d266fcb5c4175 /drivers/gpu/drm/i915/i915_pci.c | |
parent | 2a307c2e91b9478a2a06c09ffcbfc00851c7be26 (diff) | |
download | talos-obmc-linux-f69c11aeb872e51bf3900a6c0c8397f9ddb9f5bc.tar.gz talos-obmc-linux-f69c11aeb872e51bf3900a6c0c8397f9ddb9f5bc.zip |
drm/i915: give G45 and GM45 their own platform enums
Distinguish them better.
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/987709804bc8fe55475e7481fcee03e7b86b1ba3.1480520526.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_pci.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c index 2bf9b75ac392..f7ec6e944e09 100644 --- a/drivers/gpu/drm/i915/i915_pci.c +++ b/drivers/gpu/drm/i915/i915_pci.c @@ -172,14 +172,14 @@ static const struct intel_device_info intel_i965gm_info = { static const struct intel_device_info intel_g45_info = { GEN4_FEATURES, - .platform = INTEL_G4X, + .platform = INTEL_G45, .has_pipe_cxsr = 1, .ring_mask = RENDER_RING | BSD_RING, }; static const struct intel_device_info intel_gm45_info = { GEN4_FEATURES, - .platform = INTEL_G4X, + .platform = INTEL_GM45, .is_mobile = 1, .has_fbc = 1, .has_pipe_cxsr = 1, .supports_tv = 1, |