[Bug 98897] Macbook pro 11,5 screen flicker when AC adapter plugged in

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

 



Comment # 25 on bug 98897 from
(In reply to berg from comment #20)
> Created attachment 128481 [details] [review] [review]
> Setting correct core and memory clock for M370X in MBP 11,5
> 
> No screen flickering after testing out this patch I made on the v4.9 branch.
> I confirmed the GPU configuration on this page
> https://en.wikipedia.org/wiki/AMD_Radeon_Rx_300_series. Set mclk and sclk
> accordingly; assuming that mclk is for memory and sclk is for the GPU clock.
> 
> Noticeably everything is running very nicely. No strange behaviour so far
> and both GPU and CPU temps are OK.
> 
> In addition. My CPU turbo boost is also working, which it previously wasn't
> on 3.8.6. Test at your own risk.

hi berg, thanks for your attachment.
I am new to linux kernel, and I don't how to apply your attachment, i.e. how to
compile a single radeon.ko ?
I find a radeon.ko under
"/lib/modules/4.8.0-36-generic/kernel/drivers/gpu/drm/radeon", so I want to
compile it, likes here: 
https://bugzilla.kernel.org/show_bug.cgi?id=105051#c37

I modify si_dpm.c and write a Makefile:
obj-m += si_dpm.o

all:
  make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules

clean:
  make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

but when make I get:
/si_dpm.c:24:18: fatal error: drmP.h: No such file or directory
compilation terminated.

so could you tell me how to compile a single .ko or if any tutorial I can
follow, or I have to compile all the kernel?

thanks!


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux