linux_dsm_epyc7002/drivers/gpu/drm/gma500
Laurent Pinchart e0f9a4ab49 drm: gma500: Replace drm_fb_get_bpp_depth() with drm_format_info()
The driver uses drm_fb_get_bpp_depth() to check whether it can support
the format requested by userspace when creating a framebuffer. This
isn't the right API, as it doesn't differentiate between RGB formats
other than on a depth and bpp basis.

Fixing this requires non trivial changes to the drivers internals. As a
first step, replace usage of the drm_fb_get_bpp_depth() function with an
equivalent check based on drm_format_info(). This is part of a wider
effort to remove usage of the drm_fb_get_bpp_depth() function in
drivers.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1476744081-24485-9-git-send-email-laurent.pinchart@ideasonboard.com
2016-10-18 15:22:38 +05:30
..
accel_2d.c drm: Remove superflous linux/fb.h includes 2016-08-12 10:41:39 +02:00
backlight.c
blitter.c
blitter.h
cdv_device.c drm/gma500: Move to private save/restore hooks 2015-12-08 16:13:30 +01:00
cdv_device.h
cdv_intel_crt.c drm/gma500: removed optional dummy encoder mode_fixup function. 2016-02-16 15:32:43 +01:00
cdv_intel_display.c drm/gma: removed optional dummy crtc mode_fixup function. 2016-03-04 17:58:34 +01:00
cdv_intel_dp.c gma500: remove annoying deprecation warning 2016-04-04 12:38:46 -07:00
cdv_intel_hdmi.c GPU-DRM-GMA500: Delete unnecessary checks before two function calls 2016-07-22 11:31:42 +02:00
cdv_intel_lvds.c drm: Remove display_info->min/max_(h|v)max 2016-08-16 18:49:41 +02:00
framebuffer.c drm: gma500: Replace drm_fb_get_bpp_depth() with drm_format_info() 2016-10-18 15:22:38 +05:30
framebuffer.h
gem.c drm: Remove unused drm_device from drm_gem_object_lookup() 2016-05-17 08:47:30 +02:00
gem.h
gma_device.c
gma_device.h
gma_display.c drm/gma500: use drm_crtc_vblank_{on,off}() 2016-06-13 18:38:19 +02:00
gma_display.h drm/core: Change declaration for gamma_set. 2016-06-07 15:30:09 +02:00
gtt.c drm/gma500: add comments for new parameters 2016-10-13 07:56:14 +02:00
gtt.h
intel_bios.c
intel_bios.h
intel_gmbus.c drm/gma500: fix error path in gma_intel_setup_gmbus() 2016-02-10 08:25:42 +01:00
intel_i2c.c
Kconfig drm/gma500: make fbdev support really optional 2016-07-18 09:11:37 +02:00
Makefile
mdfld_device.c drm/gma500: Move to private save/restore hooks 2015-12-08 16:13:30 +01:00
mdfld_dsi_dpi.c drm/gma500/mdfld_dsi: remove bogus if check 2016-04-08 13:42:31 +02:00
mdfld_dsi_dpi.h
mdfld_dsi_output.c drm: Remove display_info->min/max_(h|v)max 2016-08-16 18:49:41 +02:00
mdfld_dsi_output.h
mdfld_dsi_pkg_sender.c drm/gma500: Fix possible out of bounds read 2016-04-08 13:41:17 +02:00
mdfld_dsi_pkg_sender.h
mdfld_intel_display.c drm/gma: removed optional dummy crtc mode_fixup function. 2016-03-04 17:58:34 +01:00
mdfld_output.c
mdfld_output.h
mdfld_tmd_vid.c
mdfld_tpo_vid.c
mid_bios.c
mid_bios.h
mmu.c
mmu.h
oaktrail_crtc.c drm/gma: removed optional dummy crtc mode_fixup function. 2016-03-04 17:58:34 +01:00
oaktrail_device.c drm/gma500: Move to private save/restore hooks 2015-12-08 16:13:30 +01:00
oaktrail_hdmi_i2c.c
oaktrail_hdmi.c drm/gma500: removed optional dummy encoder mode_fixup function. 2016-02-16 15:32:43 +01:00
oaktrail_lvds_i2c.c
oaktrail_lvds.c drm: Pass 'name' to drm_encoder_init() 2015-12-11 09:13:20 +01:00
oaktrail.h
opregion.c drm/gma500: remove unnecessary config_enabled() guard 2016-08-24 07:43:42 +02:00
opregion.h
power.c drm/gma500: use to_pci_dev() 2016-01-04 07:57:38 +01:00
power.h
psb_device.c drm/gma500: Move to private save/restore hooks 2015-12-08 16:13:30 +01:00
psb_device.h
psb_drv.c GPU-DRM-GMA500: Delete unnecessary checks before two function calls 2016-07-22 11:31:42 +02:00
psb_drv.h drm/gma500: Move to private save/restore hooks 2015-12-08 16:13:30 +01:00
psb_intel_display.c drm: Initialize a linear gamma table by default 2016-05-31 16:56:44 +02:00
psb_intel_drv.h drm/gma500: Move to private save/restore hooks 2015-12-08 16:13:30 +01:00
psb_intel_lvds.c drm: Remove display_info->min/max_(h|v)max 2016-08-16 18:49:41 +02:00
psb_intel_modes.c drm: Remove superflous linux/fb.h includes 2016-08-12 10:41:39 +02:00
psb_intel_reg.h
psb_intel_sdvo_regs.h
psb_intel_sdvo.c drm: Pass 'name' to drm_encoder_init() 2015-12-11 09:13:20 +01:00
psb_irq.c drm/irq: Use unsigned int pipe in public API 2015-10-06 12:57:47 +02:00
psb_irq.h drm/irq: Use unsigned int pipe in public API 2015-10-06 12:57:47 +02:00
psb_lid.c
psb_reg.h
tc35876x-dsi-lvds.c
tc35876x-dsi-lvds.h