linux-next: manual merge of the drm tree with the tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dave,

Today's linux-next merge of the drm tree got a conflict in
drivers/gpu/drm/radeon/radeon_asic.h between commit
28d520433b6375740990ab99d69b0d0067fd656b ("drm/vgaarb: add VGA
arbitration support to the drm and kms") from Linus' tree and commits
d39c3b895876427c5083a936e00f3f5b7f0fc1b3 ("drm/radeon/kms: Convert RV515
to new init path and associated cleanup") and
f0ed1f655aa0375e2abba84cc4e8e6c853d48555 ("drm/radeon/kms: Convert R520
to new init path and associated cleanup") from the drm tree.

I fixed it up (see below) and can carry the fix for a while.
-- 
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx

diff --cc drivers/gpu/drm/radeon/radeon_asic.h
index 8968f78,bce0cb0..0000000
--- a/drivers/gpu/drm/radeon/radeon_asic.h
+++ b/drivers/gpu/drm/radeon/radeon_asic.h
@@@ -431,25 -421,29 +428,30 @@@ void rv515_ring_start(struct radeon_dev
  uint32_t rv515_pcie_rreg(struct radeon_device *rdev, uint32_t reg);
  void rv515_pcie_wreg(struct radeon_device *rdev, uint32_t reg, uint32_t v);
  void rv515_bandwidth_update(struct radeon_device *rdev);
+ int rv515_resume(struct radeon_device *rdev);
+ int rv515_suspend(struct radeon_device *rdev);
  static struct radeon_asic rv515_asic = {
  	.init = &rv515_init,
- 	.errata = &rv515_errata,
- 	.vram_info = &rv515_vram_info,
+ 	.fini = &rv515_fini,
+ 	.suspend = &rv515_suspend,
+ 	.resume = &rv515_resume,
+ 	.errata = NULL,
+ 	.vram_info = NULL,
 +	.vga_set_state = &r100_vga_set_state,
  	.gpu_reset = &rv515_gpu_reset,
- 	.mc_init = &rv515_mc_init,
- 	.mc_fini = &rv515_mc_fini,
- 	.wb_init = &r100_wb_init,
- 	.wb_fini = &r100_wb_fini,
+ 	.mc_init = NULL,
+ 	.mc_fini = NULL,
+ 	.wb_init = NULL,
+ 	.wb_fini = NULL,
  	.gart_init = &rv370_pcie_gart_init,
  	.gart_fini = &rv370_pcie_gart_fini,
- 	.gart_enable = &rv370_pcie_gart_enable,
- 	.gart_disable = &rv370_pcie_gart_disable,
+ 	.gart_enable = NULL,
+ 	.gart_disable = NULL,
  	.gart_tlb_flush = &rv370_pcie_gart_tlb_flush,
  	.gart_set_page = &rv370_pcie_gart_set_page,
- 	.cp_init = &r100_cp_init,
- 	.cp_fini = &r100_cp_fini,
- 	.cp_disable = &r100_cp_disable,
+ 	.cp_init = NULL,
+ 	.cp_fini = NULL,
+ 	.cp_disable = NULL,
  	.cp_commit = &r100_cp_commit,
  	.ring_start = &rv515_ring_start,
  	.ring_test = &r100_ring_test,
@@@ -476,30 -470,29 +478,30 @@@
  /*
   * r520,rv530,rv560,rv570,r580
   */
- void r520_errata(struct radeon_device *rdev);
- void r520_vram_info(struct radeon_device *rdev);
- int r520_mc_init(struct radeon_device *rdev);
- void r520_mc_fini(struct radeon_device *rdev);
- void r520_bandwidth_update(struct radeon_device *rdev);
+ int r520_init(struct radeon_device *rdev);
+ int r520_resume(struct radeon_device *rdev);
  static struct radeon_asic r520_asic = {
- 	.init = &rv515_init,
- 	.errata = &r520_errata,
- 	.vram_info = &r520_vram_info,
+ 	.init = &r520_init,
+ 	.fini = &rv515_fini,
+ 	.suspend = &rv515_suspend,
+ 	.resume = &r520_resume,
+ 	.errata = NULL,
+ 	.vram_info = NULL,
 +	.vga_set_state = &r100_vga_set_state,
  	.gpu_reset = &rv515_gpu_reset,
- 	.mc_init = &r520_mc_init,
- 	.mc_fini = &r520_mc_fini,
- 	.wb_init = &r100_wb_init,
- 	.wb_fini = &r100_wb_fini,
- 	.gart_init = &rv370_pcie_gart_init,
- 	.gart_fini = &rv370_pcie_gart_fini,
- 	.gart_enable = &rv370_pcie_gart_enable,
- 	.gart_disable = &rv370_pcie_gart_disable,
+ 	.mc_init = NULL,
+ 	.mc_fini = NULL,
+ 	.wb_init = NULL,
+ 	.wb_fini = NULL,
+ 	.gart_init = NULL,
+ 	.gart_fini = NULL,
+ 	.gart_enable = NULL,
+ 	.gart_disable = NULL,
  	.gart_tlb_flush = &rv370_pcie_gart_tlb_flush,
  	.gart_set_page = &rv370_pcie_gart_set_page,
- 	.cp_init = &r100_cp_init,
- 	.cp_fini = &r100_cp_fini,
- 	.cp_disable = &r100_cp_disable,
+ 	.cp_init = NULL,
+ 	.cp_fini = NULL,
+ 	.cp_disable = NULL,
  	.cp_commit = &r100_cp_commit,
  	.ring_start = &rv515_ring_start,
  	.ring_test = &r100_ring_test,
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux