Jerry (Fangzhi) Zuo
b7e59246ba
ANDROID: drm: Add support for DP 1.4 Compliance edid corruption test
...
Unlike DP 1.2 edid corruption test, DP 1.4 requires to calculate
real CRC value of the last edid data block, and write it back.
Current edid CRC calculates routine adds the last CRC byte,
and check if non-zero.
This behavior is not accurate; actually, we need to return
the actual CRC value when corruption is detected.
This commit changes this issue by returning the calculated CRC,
and initiate the required sequence.
Change since v7
- Fix for CI.CHECKPATCH
Change since v6
- Add return check
Change since v5
- Obtain real CRC value before dumping bad edid
Change since v4
- Fix for CI.CHECKPATCH
Change since v3
- Fix a minor typo.
Change since v2
- Rewrite checksum computation routine to avoid duplicated code.
- Rename to avoid confusion.
Change since v1
- Have separate routine for returning real CRC.
Change-Id: I6a67007357e5176994f54c4f30c07f42a2d57bd7
Signed-off-by: Jerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
[abhinavk: resolved conflict with android-5.4's drm_dp_helper.h]
Bug: 139653858
Link: https://patchwork.kernel.org/patch/11375865/
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2020-03-06 20:13:52 +00:00
..
bridge
drm/bridge: dw-hdmi: move audio channel setup out of ahb
2019-08-14 15:03:11 +02:00
i2c
ttm
drm-misc-next for 5.4:
2019-08-21 16:44:41 +10:00
amd_asic_type.h
drm/amdgpu: add renoir asic_type enum
2019-08-12 12:47:49 -05:00
ati_pcigart.h
drm_agpsupport.h
drm/agp: Remove unused function drm_agp_bind_pages
2019-07-15 18:11:30 +02:00
drm_atomic.h
drm: Add helpers to kick off self refresh mode in drivers
2019-06-13 14:31:10 -04:00
drm_atomic_helper.h
drm/atomic: Move __drm_atomic_helper_disable_plane/set_config()
2019-06-08 16:46:37 +02:00
drm_atomic_state_helper.h
drm/atomic: Add a function to reset connector TV properties
2019-06-19 12:17:52 +02:00
drm_atomic_uapi.h
drm_audio_component.h
drm_auth.h
drm: make drm/drm_auth.h self contained
2019-05-27 18:05:44 +02:00
drm_blend.h
drm_bridge.h
drm-misc-next for v5.3:
2019-06-14 11:44:24 +02:00
drm_cache.h
drm_client.h
drm/client: Support unmapping of DRM client buffers
2019-08-01 15:01:22 +02:00
drm_color_mgmt.h
drm_connector.h
ANDROID: drm: Add support for DP 1.4 Compliance edid corruption test
2020-03-06 20:13:52 +00:00
drm_crtc.h
drm: Fix kerneldoc and remove unused struct member in self_refresh helper
2019-09-19 10:03:19 -04:00
drm_crtc_helper.h
drm_damage_helper.h
drm_debugfs.h
drm: drm_debugfs.h self-contained
2019-06-10 22:30:24 +02:00
drm_debugfs_crc.h
drm_device.h
drm: Integrate VRAM MM into struct drm_device
2019-05-15 16:17:06 +02:00
drm_displayid.h
drm/edid: parse CEA blocks embedded in DisplayID
2019-06-25 14:32:26 +10:00
drm_dp_dual_mode_helper.h
drm_dp_helper.h
ANDROID: drm: Add support for DP 1.4 Compliance edid corruption test
2020-03-06 20:13:52 +00:00
drm_dp_mst_helper.h
drm: mst: Fix query_payload ack reply struct
2019-12-31 16:42:19 +01:00
drm_drv.h
drm/prime: Ditch gem_prime_res_obj hook
2019-07-31 10:19:23 +02:00
drm_dsc.h
drm_edid.h
ANDROID: drm: edid: add support for additional CEA extension blocks
2019-11-14 15:14:59 -08:00
drm_encoder.h
drm_encoder_slave.h
drm_fb_cma_helper.h
drm_fb_helper.h
drm/fb-helper: Prepare to move out modeset config code
2019-06-11 14:47:17 +02:00
drm_file.h
drm/legacy: remove some legacy lock struct members
2019-04-24 12:36:32 +10:00
drm_fixed.h
drm_flip_work.h
drm_format_helper.h
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152
2019-05-30 11:26:32 -07:00
drm_fourcc.h
drm/fourcc: Fix the parameters name in the documentation
2019-05-21 16:58:05 +02:00
drm_framebuffer.h
drm/fb: document dirty helper better
2019-06-11 18:02:48 +02:00
drm_gem.h
dma-buf: rename reservation_object to dma_resv
2019-08-13 09:09:30 +02:00
drm_gem_cma_helper.h
drm_gem_framebuffer_helper.h
drm/fb: remove unused function: drm_gem_fbdev_fb_create()
2019-07-21 19:32:38 +02:00
drm_gem_shmem_helper.h
drm/shmem: Add docbook comments for drm_gem_shmem_object madvise fields
2019-11-06 17:57:42 -06:00
drm_gem_vram_helper.h
drm/vram: use embedded gem object
2019-08-06 08:21:53 +02:00
drm_hashtab.h
drm_hdcp.h
drm/hdcp: update content protection property with uevent
2019-08-06 13:17:23 +05:30
drm_ioctl.h
drm/ioctl: Ditch DRM_UNLOCKED except for the legacy vblank ioctl
2019-06-21 19:13:10 +02:00
drm_irq.h
drm_lease.h
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157
2019-05-30 11:26:37 -07:00
drm_legacy.h
drm: make drm/drm_legacy.h self-contained
2019-05-27 18:06:15 +02:00
drm_mipi_dbi.h
drm/tinydrm: Move mipi-dbi
2019-07-25 10:45:07 +02:00
drm_mipi_dsi.h
ANDROID: drivers: gpu: drm: add support to batch commands
2019-11-19 14:33:07 -08:00
drm_mm.h
drm_mode_config.h
drm: Add Content protection type property
2019-08-06 13:14:07 +05:30
drm_mode_object.h
ANDROID: include: drm: increase DRM max property count to 64
2019-11-14 15:14:58 -08:00
drm_modes.h
drm/selftests: reduce stack usage
2019-07-01 09:50:58 +02:00
drm_modeset_helper.h
drm_modeset_helper_vtables.h
Linux 5.2-rc5
2019-06-19 12:07:29 +02:00
drm_modeset_lock.h
drm_of.h
drm_os_linux.h
drm_panel.h
ANDROID: driver: gpu: drm: add notifier for panel related events
2019-11-14 15:14:58 -08:00
drm_pci.h
drm_pciids.h
drm_plane.h
drm/docs: More links for implicit/explicit fencing.
2019-06-03 17:11:33 +02:00
drm_plane_helper.h
drm_prime.h
drm/prime: Align gem_prime_export with obj_funcs.export
2019-06-21 17:30:49 +02:00
drm_print.h
drm: fix build errors with drm_print.h
2019-06-10 22:58:53 +02:00
drm_probe_helper.h
drm_property.h
drm_rect.h
drm_scdc_helper.h
drm_self_refresh_helper.h
drm/atomic: fix self-refresh helpers crtc state dereference
2019-11-06 13:00:21 -05:00
drm_simple_kms_helper.h
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152
2019-05-30 11:26:32 -07:00
drm_syncobj.h
drm_sysfs.h
drm: uevent for connector status change
2019-08-06 13:16:54 +05:30
drm_util.h
drm_utils.h
drm_vblank.h
drm: drop uapi dependency from drm_vblank.h
2019-07-19 23:24:16 +02:00
drm_vma_manager.h
drm: increase drm mmap_range size to 1TB
2019-04-24 16:20:23 -05:00
drm_vram_mm_helper.h
drm: add missing include to drm_vram_mm_helper.h
2019-07-15 18:11:31 +02:00
drm_writeback.h
drmP.h
dma-buf: rename reservation_object to dma_resv
2019-08-13 09:09:30 +02:00
gma_drm.h
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 335
2019-06-05 17:37:06 +02:00
gpu_scheduler.h
drm/scheduler: Add flag to hint the release of guilty job.
2019-05-02 15:50:55 -05:00
i915_component.h
drm/i915/tgl: Add additional ports for Tiger Lake
2019-07-11 16:31:14 -07:00
i915_drm.h
drm/i915: Drop extern qualifiers from header function prototypes
2019-07-12 13:04:54 +01:00
i915_mei_hdcp_interface.h
i915_pciids.h
drm/i915/cml: Add Missing PCI IDs
2019-08-15 12:55:54 -07:00
intel-gtt.h
intel_lpe_audio.h
spsc_queue.h